feat(hos_client_create, hos_client_destory): 多次调用destory不会导致重复释放

This commit is contained in:
彭宣正
2020-12-14 17:24:58 +08:00
parent 505d529c32
commit 10b370e486
55976 changed files with 8544395 additions and 2 deletions

View File

@@ -0,0 +1,76 @@
add_project(aws-cpp-sdk-servicecatalog "C++ SDK for the AWS servicecatalog service" aws-cpp-sdk-core)
file(GLOB AWS_SERVICECATALOG_HEADERS
"include/aws/servicecatalog/*.h"
)
file(GLOB AWS_SERVICECATALOG_MODEL_HEADERS
"include/aws/servicecatalog/model/*.h"
)
file(GLOB AWS_SERVICECATALOG_SOURCE
"source/*.cpp"
)
file(GLOB AWS_SERVICECATALOG_MODEL_SOURCE
"source/model/*.cpp"
)
file(GLOB SERVICECATALOG_UNIFIED_HEADERS
${AWS_SERVICECATALOG_HEADERS}
${AWS_SERVICECATALOG_MODEL_HEADERS}
)
file(GLOB SERVICECATALOG_UNITY_SRC
${AWS_SERVICECATALOG_SOURCE}
${AWS_SERVICECATALOG_MODEL_SOURCE}
)
if(ENABLE_UNITY_BUILD)
enable_unity_build("SERVICECATALOG" SERVICECATALOG_UNITY_SRC)
endif()
file(GLOB SERVICECATALOG_SRC
${SERVICECATALOG_UNIFIED_HEADERS}
${SERVICECATALOG_UNITY_SRC}
)
if(WIN32)
#if we are compiling for visual studio, create a sane directory tree.
if(MSVC)
source_group("Header Files\\aws\\servicecatalog" FILES ${AWS_SERVICECATALOG_HEADERS})
source_group("Header Files\\aws\\servicecatalog\\model" FILES ${AWS_SERVICECATALOG_MODEL_HEADERS})
source_group("Source Files" FILES ${AWS_SERVICECATALOG_SOURCE})
source_group("Source Files\\model" FILES ${AWS_SERVICECATALOG_MODEL_SOURCE})
endif(MSVC)
endif()
set(SERVICECATALOG_INCLUDES
"${CMAKE_CURRENT_SOURCE_DIR}/include/"
)
add_library(${PROJECT_NAME} ${SERVICECATALOG_SRC})
add_library(AWS::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
set_compiler_flags(${PROJECT_NAME})
set_compiler_warnings(${PROJECT_NAME})
if(USE_WINDOWS_DLL_SEMANTICS AND BUILD_SHARED_LIBS)
target_compile_definitions(${PROJECT_NAME} PRIVATE "AWS_SERVICECATALOG_EXPORTS")
endif()
target_include_directories(${PROJECT_NAME} PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>)
target_link_libraries(${PROJECT_NAME} PRIVATE ${PLATFORM_DEP_LIBS} ${PROJECT_LIBS})
setup_install()
install (FILES ${AWS_SERVICECATALOG_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/servicecatalog)
install (FILES ${AWS_SERVICECATALOG_MODEL_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/servicecatalog/model)
do_packaging()

View File

@@ -0,0 +1,21 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/Region.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace ServiceCatalog
{
namespace ServiceCatalogEndpoint
{
AWS_SERVICECATALOG_API Aws::String ForRegion(const Aws::String& regionName, bool useDualStack = false);
} // namespace ServiceCatalogEndpoint
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,23 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/client/AWSErrorMarshaller.h>
namespace Aws
{
namespace Client
{
class AWS_SERVICECATALOG_API ServiceCatalogErrorMarshaller : public Aws::Client::JsonErrorMarshaller
{
public:
Aws::Client::AWSError<Aws::Client::CoreErrors> FindErrorByName(const char* exceptionName) const override;
};
} // namespace Client
} // namespace Aws

View File

@@ -0,0 +1,78 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/core/client/AWSError.h>
#include <aws/core/client/CoreErrors.h>
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
namespace Aws
{
namespace ServiceCatalog
{
enum class ServiceCatalogErrors
{
//From Core//
//////////////////////////////////////////////////////////////////////////////////////////
INCOMPLETE_SIGNATURE = 0,
INTERNAL_FAILURE = 1,
INVALID_ACTION = 2,
INVALID_CLIENT_TOKEN_ID = 3,
INVALID_PARAMETER_COMBINATION = 4,
INVALID_QUERY_PARAMETER = 5,
INVALID_PARAMETER_VALUE = 6,
MISSING_ACTION = 7, // SDK should never allow
MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow
MISSING_PARAMETER = 9, // SDK should never allow
OPT_IN_REQUIRED = 10,
REQUEST_EXPIRED = 11,
SERVICE_UNAVAILABLE = 12,
THROTTLING = 13,
VALIDATION = 14,
ACCESS_DENIED = 15,
RESOURCE_NOT_FOUND = 16,
UNRECOGNIZED_CLIENT = 17,
MALFORMED_QUERY_STRING = 18,
SLOW_DOWN = 19,
REQUEST_TIME_TOO_SKEWED = 20,
INVALID_SIGNATURE = 21,
SIGNATURE_DOES_NOT_MATCH = 22,
INVALID_ACCESS_KEY_ID = 23,
REQUEST_TIMEOUT = 24,
NETWORK_CONNECTION = 99,
UNKNOWN = 100,
///////////////////////////////////////////////////////////////////////////////////////////
DUPLICATE_RESOURCE= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
INVALID_PARAMETERS,
INVALID_STATE,
LIMIT_EXCEEDED,
OPERATION_NOT_SUPPORTED,
RESOURCE_IN_USE,
TAG_OPTION_NOT_MIGRATED
};
class AWS_SERVICECATALOG_API ServiceCatalogError : public Aws::Client::AWSError<ServiceCatalogErrors>
{
public:
ServiceCatalogError() {}
ServiceCatalogError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<ServiceCatalogErrors>(rhs) {}
ServiceCatalogError(Aws::Client::AWSError<Aws::Client::CoreErrors>&& rhs) : Aws::Client::AWSError<ServiceCatalogErrors>(rhs) {}
ServiceCatalogError(const Aws::Client::AWSError<ServiceCatalogErrors>& rhs) : Aws::Client::AWSError<ServiceCatalogErrors>(rhs) {}
ServiceCatalogError(Aws::Client::AWSError<ServiceCatalogErrors>&& rhs) : Aws::Client::AWSError<ServiceCatalogErrors>(rhs) {}
template <typename T>
T GetModeledError();
};
namespace ServiceCatalogErrorMapper
{
AWS_SERVICECATALOG_API Aws::Client::AWSError<Aws::Client::CoreErrors> GetErrorForName(const char* errorName);
}
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,42 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/AmazonSerializableWebServiceRequest.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <aws/core/http/HttpRequest.h>
namespace Aws
{
namespace ServiceCatalog
{
class AWS_SERVICECATALOG_API ServiceCatalogRequest : public Aws::AmazonSerializableWebServiceRequest
{
public:
virtual ~ServiceCatalogRequest () {}
void AddParametersToRequest(Aws::Http::HttpRequest& httpRequest) const { AWS_UNREFERENCED_PARAM(httpRequest); }
inline Aws::Http::HeaderValueCollection GetHeaders() const override
{
auto headers = GetRequestSpecificHeaders();
if(headers.size() == 0 || (headers.size() > 0 && headers.count(Aws::Http::CONTENT_TYPE_HEADER) == 0))
{
headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::CONTENT_TYPE_HEADER, Aws::AMZN_JSON_CONTENT_TYPE_1_1 ));
}
headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::API_VERSION_HEADER, "2015-12-10"));
return headers;
}
protected:
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); }
};
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,29 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#ifdef _MSC_VER
//disable windows complaining about max template size.
#pragma warning (disable : 4503)
#endif // _MSC_VER
#if defined (USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32)
#ifdef _MSC_VER
#pragma warning(disable : 4251)
#endif // _MSC_VER
#ifdef USE_IMPORT_EXPORT
#ifdef AWS_SERVICECATALOG_EXPORTS
#define AWS_SERVICECATALOG_API __declspec(dllexport)
#else
#define AWS_SERVICECATALOG_API __declspec(dllimport)
#endif /* AWS_SERVICECATALOG_EXPORTS */
#else
#define AWS_SERVICECATALOG_API
#endif // USE_IMPORT_EXPORT
#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
#define AWS_SERVICECATALOG_API
#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)

View File

@@ -0,0 +1,222 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/servicecatalog/model/PortfolioShareType.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API AcceptPortfolioShareRequest : public ServiceCatalogRequest
{
public:
AcceptPortfolioShareRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "AcceptPortfolioShare"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline AcceptPortfolioShareRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline AcceptPortfolioShareRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline AcceptPortfolioShareRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline const Aws::String& GetPortfolioId() const{ return m_portfolioId; }
/**
* <p>The portfolio identifier.</p>
*/
inline bool PortfolioIdHasBeenSet() const { return m_portfolioIdHasBeenSet; }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(const Aws::String& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = value; }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(Aws::String&& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = std::move(value); }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(const char* value) { m_portfolioIdHasBeenSet = true; m_portfolioId.assign(value); }
/**
* <p>The portfolio identifier.</p>
*/
inline AcceptPortfolioShareRequest& WithPortfolioId(const Aws::String& value) { SetPortfolioId(value); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline AcceptPortfolioShareRequest& WithPortfolioId(Aws::String&& value) { SetPortfolioId(std::move(value)); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline AcceptPortfolioShareRequest& WithPortfolioId(const char* value) { SetPortfolioId(value); return *this;}
/**
* <p>The type of shared portfolios to accept. The default is to accept imported
* portfolios.</p> <ul> <li> <p> <code>AWS_ORGANIZATIONS</code> - Accept portfolios
* shared by the master account of your organization.</p> </li> <li> <p>
* <code>IMPORTED</code> - Accept imported portfolios.</p> </li> <li> <p>
* <code>AWS_SERVICECATALOG</code> - Not supported. (Throws
* ResourceNotFoundException.)</p> </li> </ul> <p>For example, <code>aws
* servicecatalog accept-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk"
* --portfolio-share-type AWS_ORGANIZATIONS</code> </p>
*/
inline const PortfolioShareType& GetPortfolioShareType() const{ return m_portfolioShareType; }
/**
* <p>The type of shared portfolios to accept. The default is to accept imported
* portfolios.</p> <ul> <li> <p> <code>AWS_ORGANIZATIONS</code> - Accept portfolios
* shared by the master account of your organization.</p> </li> <li> <p>
* <code>IMPORTED</code> - Accept imported portfolios.</p> </li> <li> <p>
* <code>AWS_SERVICECATALOG</code> - Not supported. (Throws
* ResourceNotFoundException.)</p> </li> </ul> <p>For example, <code>aws
* servicecatalog accept-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk"
* --portfolio-share-type AWS_ORGANIZATIONS</code> </p>
*/
inline bool PortfolioShareTypeHasBeenSet() const { return m_portfolioShareTypeHasBeenSet; }
/**
* <p>The type of shared portfolios to accept. The default is to accept imported
* portfolios.</p> <ul> <li> <p> <code>AWS_ORGANIZATIONS</code> - Accept portfolios
* shared by the master account of your organization.</p> </li> <li> <p>
* <code>IMPORTED</code> - Accept imported portfolios.</p> </li> <li> <p>
* <code>AWS_SERVICECATALOG</code> - Not supported. (Throws
* ResourceNotFoundException.)</p> </li> </ul> <p>For example, <code>aws
* servicecatalog accept-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk"
* --portfolio-share-type AWS_ORGANIZATIONS</code> </p>
*/
inline void SetPortfolioShareType(const PortfolioShareType& value) { m_portfolioShareTypeHasBeenSet = true; m_portfolioShareType = value; }
/**
* <p>The type of shared portfolios to accept. The default is to accept imported
* portfolios.</p> <ul> <li> <p> <code>AWS_ORGANIZATIONS</code> - Accept portfolios
* shared by the master account of your organization.</p> </li> <li> <p>
* <code>IMPORTED</code> - Accept imported portfolios.</p> </li> <li> <p>
* <code>AWS_SERVICECATALOG</code> - Not supported. (Throws
* ResourceNotFoundException.)</p> </li> </ul> <p>For example, <code>aws
* servicecatalog accept-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk"
* --portfolio-share-type AWS_ORGANIZATIONS</code> </p>
*/
inline void SetPortfolioShareType(PortfolioShareType&& value) { m_portfolioShareTypeHasBeenSet = true; m_portfolioShareType = std::move(value); }
/**
* <p>The type of shared portfolios to accept. The default is to accept imported
* portfolios.</p> <ul> <li> <p> <code>AWS_ORGANIZATIONS</code> - Accept portfolios
* shared by the master account of your organization.</p> </li> <li> <p>
* <code>IMPORTED</code> - Accept imported portfolios.</p> </li> <li> <p>
* <code>AWS_SERVICECATALOG</code> - Not supported. (Throws
* ResourceNotFoundException.)</p> </li> </ul> <p>For example, <code>aws
* servicecatalog accept-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk"
* --portfolio-share-type AWS_ORGANIZATIONS</code> </p>
*/
inline AcceptPortfolioShareRequest& WithPortfolioShareType(const PortfolioShareType& value) { SetPortfolioShareType(value); return *this;}
/**
* <p>The type of shared portfolios to accept. The default is to accept imported
* portfolios.</p> <ul> <li> <p> <code>AWS_ORGANIZATIONS</code> - Accept portfolios
* shared by the master account of your organization.</p> </li> <li> <p>
* <code>IMPORTED</code> - Accept imported portfolios.</p> </li> <li> <p>
* <code>AWS_SERVICECATALOG</code> - Not supported. (Throws
* ResourceNotFoundException.)</p> </li> </ul> <p>For example, <code>aws
* servicecatalog accept-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk"
* --portfolio-share-type AWS_ORGANIZATIONS</code> </p>
*/
inline AcceptPortfolioShareRequest& WithPortfolioShareType(PortfolioShareType&& value) { SetPortfolioShareType(std::move(value)); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_portfolioId;
bool m_portfolioIdHasBeenSet;
PortfolioShareType m_portfolioShareType;
bool m_portfolioShareTypeHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API AcceptPortfolioShareResult
{
public:
AcceptPortfolioShareResult();
AcceptPortfolioShareResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AcceptPortfolioShareResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,149 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/model/AccessLevelFilterKey.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
/**
* <p>The access level to use to filter results.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AccessLevelFilter">AWS
* API Reference</a></p>
*/
class AWS_SERVICECATALOG_API AccessLevelFilter
{
public:
AccessLevelFilter();
AccessLevelFilter(Aws::Utils::Json::JsonView jsonValue);
AccessLevelFilter& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The access level.</p> <ul> <li> <p> <code>Account</code> - Filter results
* based on the account.</p> </li> <li> <p> <code>Role</code> - Filter results
* based on the federated role of the specified user.</p> </li> <li> <p>
* <code>User</code> - Filter results based on the specified user.</p> </li> </ul>
*/
inline const AccessLevelFilterKey& GetKey() const{ return m_key; }
/**
* <p>The access level.</p> <ul> <li> <p> <code>Account</code> - Filter results
* based on the account.</p> </li> <li> <p> <code>Role</code> - Filter results
* based on the federated role of the specified user.</p> </li> <li> <p>
* <code>User</code> - Filter results based on the specified user.</p> </li> </ul>
*/
inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
/**
* <p>The access level.</p> <ul> <li> <p> <code>Account</code> - Filter results
* based on the account.</p> </li> <li> <p> <code>Role</code> - Filter results
* based on the federated role of the specified user.</p> </li> <li> <p>
* <code>User</code> - Filter results based on the specified user.</p> </li> </ul>
*/
inline void SetKey(const AccessLevelFilterKey& value) { m_keyHasBeenSet = true; m_key = value; }
/**
* <p>The access level.</p> <ul> <li> <p> <code>Account</code> - Filter results
* based on the account.</p> </li> <li> <p> <code>Role</code> - Filter results
* based on the federated role of the specified user.</p> </li> <li> <p>
* <code>User</code> - Filter results based on the specified user.</p> </li> </ul>
*/
inline void SetKey(AccessLevelFilterKey&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
/**
* <p>The access level.</p> <ul> <li> <p> <code>Account</code> - Filter results
* based on the account.</p> </li> <li> <p> <code>Role</code> - Filter results
* based on the federated role of the specified user.</p> </li> <li> <p>
* <code>User</code> - Filter results based on the specified user.</p> </li> </ul>
*/
inline AccessLevelFilter& WithKey(const AccessLevelFilterKey& value) { SetKey(value); return *this;}
/**
* <p>The access level.</p> <ul> <li> <p> <code>Account</code> - Filter results
* based on the account.</p> </li> <li> <p> <code>Role</code> - Filter results
* based on the federated role of the specified user.</p> </li> <li> <p>
* <code>User</code> - Filter results based on the specified user.</p> </li> </ul>
*/
inline AccessLevelFilter& WithKey(AccessLevelFilterKey&& value) { SetKey(std::move(value)); return *this;}
/**
* <p>The user to which the access level applies. The only supported value is
* <code>Self</code>.</p>
*/
inline const Aws::String& GetValue() const{ return m_value; }
/**
* <p>The user to which the access level applies. The only supported value is
* <code>Self</code>.</p>
*/
inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
/**
* <p>The user to which the access level applies. The only supported value is
* <code>Self</code>.</p>
*/
inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
/**
* <p>The user to which the access level applies. The only supported value is
* <code>Self</code>.</p>
*/
inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
/**
* <p>The user to which the access level applies. The only supported value is
* <code>Self</code>.</p>
*/
inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
/**
* <p>The user to which the access level applies. The only supported value is
* <code>Self</code>.</p>
*/
inline AccessLevelFilter& WithValue(const Aws::String& value) { SetValue(value); return *this;}
/**
* <p>The user to which the access level applies. The only supported value is
* <code>Self</code>.</p>
*/
inline AccessLevelFilter& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
/**
* <p>The user to which the access level applies. The only supported value is
* <code>Self</code>.</p>
*/
inline AccessLevelFilter& WithValue(const char* value) { SetValue(value); return *this;}
private:
AccessLevelFilterKey m_key;
bool m_keyHasBeenSet;
Aws::String m_value;
bool m_valueHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,32 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
enum class AccessLevelFilterKey
{
NOT_SET,
Account,
Role,
User
};
namespace AccessLevelFilterKeyMapper
{
AWS_SERVICECATALOG_API AccessLevelFilterKey GetAccessLevelFilterKeyForName(const Aws::String& name);
AWS_SERVICECATALOG_API Aws::String GetNameForAccessLevelFilterKey(AccessLevelFilterKey value);
} // namespace AccessLevelFilterKeyMapper
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,32 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
enum class AccessStatus
{
NOT_SET,
ENABLED,
UNDER_CHANGE,
DISABLED
};
namespace AccessStatusMapper
{
AWS_SERVICECATALOG_API AccessStatus GetAccessStatusForName(const Aws::String& name);
AWS_SERVICECATALOG_API Aws::String GetNameForAccessStatus(AccessStatus value);
} // namespace AccessStatusMapper
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,129 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API AssociateBudgetWithResourceRequest : public ServiceCatalogRequest
{
public:
AssociateBudgetWithResourceRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "AssociateBudgetWithResource"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the budget you want to associate.</p>
*/
inline const Aws::String& GetBudgetName() const{ return m_budgetName; }
/**
* <p>The name of the budget you want to associate.</p>
*/
inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
/**
* <p>The name of the budget you want to associate.</p>
*/
inline void SetBudgetName(const Aws::String& value) { m_budgetNameHasBeenSet = true; m_budgetName = value; }
/**
* <p>The name of the budget you want to associate.</p>
*/
inline void SetBudgetName(Aws::String&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::move(value); }
/**
* <p>The name of the budget you want to associate.</p>
*/
inline void SetBudgetName(const char* value) { m_budgetNameHasBeenSet = true; m_budgetName.assign(value); }
/**
* <p>The name of the budget you want to associate.</p>
*/
inline AssociateBudgetWithResourceRequest& WithBudgetName(const Aws::String& value) { SetBudgetName(value); return *this;}
/**
* <p>The name of the budget you want to associate.</p>
*/
inline AssociateBudgetWithResourceRequest& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;}
/**
* <p>The name of the budget you want to associate.</p>
*/
inline AssociateBudgetWithResourceRequest& WithBudgetName(const char* value) { SetBudgetName(value); return *this;}
/**
* <p> The resource identifier. Either a portfolio-id or a product-id.</p>
*/
inline const Aws::String& GetResourceId() const{ return m_resourceId; }
/**
* <p> The resource identifier. Either a portfolio-id or a product-id.</p>
*/
inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
/**
* <p> The resource identifier. Either a portfolio-id or a product-id.</p>
*/
inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
/**
* <p> The resource identifier. Either a portfolio-id or a product-id.</p>
*/
inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
/**
* <p> The resource identifier. Either a portfolio-id or a product-id.</p>
*/
inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
/**
* <p> The resource identifier. Either a portfolio-id or a product-id.</p>
*/
inline AssociateBudgetWithResourceRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
/**
* <p> The resource identifier. Either a portfolio-id or a product-id.</p>
*/
inline AssociateBudgetWithResourceRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
/**
* <p> The resource identifier. Either a portfolio-id or a product-id.</p>
*/
inline AssociateBudgetWithResourceRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
private:
Aws::String m_budgetName;
bool m_budgetNameHasBeenSet;
Aws::String m_resourceId;
bool m_resourceIdHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API AssociateBudgetWithResourceResult
{
public:
AssociateBudgetWithResourceResult();
AssociateBudgetWithResourceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AssociateBudgetWithResourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,224 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/servicecatalog/model/PrincipalType.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API AssociatePrincipalWithPortfolioRequest : public ServiceCatalogRequest
{
public:
AssociatePrincipalWithPortfolioRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "AssociatePrincipalWithPortfolio"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline AssociatePrincipalWithPortfolioRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline AssociatePrincipalWithPortfolioRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline AssociatePrincipalWithPortfolioRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline const Aws::String& GetPortfolioId() const{ return m_portfolioId; }
/**
* <p>The portfolio identifier.</p>
*/
inline bool PortfolioIdHasBeenSet() const { return m_portfolioIdHasBeenSet; }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(const Aws::String& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = value; }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(Aws::String&& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = std::move(value); }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(const char* value) { m_portfolioIdHasBeenSet = true; m_portfolioId.assign(value); }
/**
* <p>The portfolio identifier.</p>
*/
inline AssociatePrincipalWithPortfolioRequest& WithPortfolioId(const Aws::String& value) { SetPortfolioId(value); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline AssociatePrincipalWithPortfolioRequest& WithPortfolioId(Aws::String&& value) { SetPortfolioId(std::move(value)); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline AssociatePrincipalWithPortfolioRequest& WithPortfolioId(const char* value) { SetPortfolioId(value); return *this;}
/**
* <p>The ARN of the principal (IAM user, role, or group).</p>
*/
inline const Aws::String& GetPrincipalARN() const{ return m_principalARN; }
/**
* <p>The ARN of the principal (IAM user, role, or group).</p>
*/
inline bool PrincipalARNHasBeenSet() const { return m_principalARNHasBeenSet; }
/**
* <p>The ARN of the principal (IAM user, role, or group).</p>
*/
inline void SetPrincipalARN(const Aws::String& value) { m_principalARNHasBeenSet = true; m_principalARN = value; }
/**
* <p>The ARN of the principal (IAM user, role, or group).</p>
*/
inline void SetPrincipalARN(Aws::String&& value) { m_principalARNHasBeenSet = true; m_principalARN = std::move(value); }
/**
* <p>The ARN of the principal (IAM user, role, or group).</p>
*/
inline void SetPrincipalARN(const char* value) { m_principalARNHasBeenSet = true; m_principalARN.assign(value); }
/**
* <p>The ARN of the principal (IAM user, role, or group).</p>
*/
inline AssociatePrincipalWithPortfolioRequest& WithPrincipalARN(const Aws::String& value) { SetPrincipalARN(value); return *this;}
/**
* <p>The ARN of the principal (IAM user, role, or group).</p>
*/
inline AssociatePrincipalWithPortfolioRequest& WithPrincipalARN(Aws::String&& value) { SetPrincipalARN(std::move(value)); return *this;}
/**
* <p>The ARN of the principal (IAM user, role, or group).</p>
*/
inline AssociatePrincipalWithPortfolioRequest& WithPrincipalARN(const char* value) { SetPrincipalARN(value); return *this;}
/**
* <p>The principal type. The supported value is <code>IAM</code>.</p>
*/
inline const PrincipalType& GetPrincipalType() const{ return m_principalType; }
/**
* <p>The principal type. The supported value is <code>IAM</code>.</p>
*/
inline bool PrincipalTypeHasBeenSet() const { return m_principalTypeHasBeenSet; }
/**
* <p>The principal type. The supported value is <code>IAM</code>.</p>
*/
inline void SetPrincipalType(const PrincipalType& value) { m_principalTypeHasBeenSet = true; m_principalType = value; }
/**
* <p>The principal type. The supported value is <code>IAM</code>.</p>
*/
inline void SetPrincipalType(PrincipalType&& value) { m_principalTypeHasBeenSet = true; m_principalType = std::move(value); }
/**
* <p>The principal type. The supported value is <code>IAM</code>.</p>
*/
inline AssociatePrincipalWithPortfolioRequest& WithPrincipalType(const PrincipalType& value) { SetPrincipalType(value); return *this;}
/**
* <p>The principal type. The supported value is <code>IAM</code>.</p>
*/
inline AssociatePrincipalWithPortfolioRequest& WithPrincipalType(PrincipalType&& value) { SetPrincipalType(std::move(value)); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_portfolioId;
bool m_portfolioIdHasBeenSet;
Aws::String m_principalARN;
bool m_principalARNHasBeenSet;
PrincipalType m_principalType;
bool m_principalTypeHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API AssociatePrincipalWithPortfolioResult
{
public:
AssociatePrincipalWithPortfolioResult();
AssociatePrincipalWithPortfolioResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AssociatePrincipalWithPortfolioResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,233 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API AssociateProductWithPortfolioRequest : public ServiceCatalogRequest
{
public:
AssociateProductWithPortfolioRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "AssociateProductWithPortfolio"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline AssociateProductWithPortfolioRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline AssociateProductWithPortfolioRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline AssociateProductWithPortfolioRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The product identifier.</p>
*/
inline const Aws::String& GetProductId() const{ return m_productId; }
/**
* <p>The product identifier.</p>
*/
inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
/**
* <p>The product identifier.</p>
*/
inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
/**
* <p>The product identifier.</p>
*/
inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
/**
* <p>The product identifier.</p>
*/
inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
/**
* <p>The product identifier.</p>
*/
inline AssociateProductWithPortfolioRequest& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
/**
* <p>The product identifier.</p>
*/
inline AssociateProductWithPortfolioRequest& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
/**
* <p>The product identifier.</p>
*/
inline AssociateProductWithPortfolioRequest& WithProductId(const char* value) { SetProductId(value); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline const Aws::String& GetPortfolioId() const{ return m_portfolioId; }
/**
* <p>The portfolio identifier.</p>
*/
inline bool PortfolioIdHasBeenSet() const { return m_portfolioIdHasBeenSet; }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(const Aws::String& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = value; }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(Aws::String&& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = std::move(value); }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(const char* value) { m_portfolioIdHasBeenSet = true; m_portfolioId.assign(value); }
/**
* <p>The portfolio identifier.</p>
*/
inline AssociateProductWithPortfolioRequest& WithPortfolioId(const Aws::String& value) { SetPortfolioId(value); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline AssociateProductWithPortfolioRequest& WithPortfolioId(Aws::String&& value) { SetPortfolioId(std::move(value)); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline AssociateProductWithPortfolioRequest& WithPortfolioId(const char* value) { SetPortfolioId(value); return *this;}
/**
* <p>The identifier of the source portfolio.</p>
*/
inline const Aws::String& GetSourcePortfolioId() const{ return m_sourcePortfolioId; }
/**
* <p>The identifier of the source portfolio.</p>
*/
inline bool SourcePortfolioIdHasBeenSet() const { return m_sourcePortfolioIdHasBeenSet; }
/**
* <p>The identifier of the source portfolio.</p>
*/
inline void SetSourcePortfolioId(const Aws::String& value) { m_sourcePortfolioIdHasBeenSet = true; m_sourcePortfolioId = value; }
/**
* <p>The identifier of the source portfolio.</p>
*/
inline void SetSourcePortfolioId(Aws::String&& value) { m_sourcePortfolioIdHasBeenSet = true; m_sourcePortfolioId = std::move(value); }
/**
* <p>The identifier of the source portfolio.</p>
*/
inline void SetSourcePortfolioId(const char* value) { m_sourcePortfolioIdHasBeenSet = true; m_sourcePortfolioId.assign(value); }
/**
* <p>The identifier of the source portfolio.</p>
*/
inline AssociateProductWithPortfolioRequest& WithSourcePortfolioId(const Aws::String& value) { SetSourcePortfolioId(value); return *this;}
/**
* <p>The identifier of the source portfolio.</p>
*/
inline AssociateProductWithPortfolioRequest& WithSourcePortfolioId(Aws::String&& value) { SetSourcePortfolioId(std::move(value)); return *this;}
/**
* <p>The identifier of the source portfolio.</p>
*/
inline AssociateProductWithPortfolioRequest& WithSourcePortfolioId(const char* value) { SetSourcePortfolioId(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_productId;
bool m_productIdHasBeenSet;
Aws::String m_portfolioId;
bool m_portfolioIdHasBeenSet;
Aws::String m_sourcePortfolioId;
bool m_sourcePortfolioIdHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API AssociateProductWithPortfolioResult
{
public:
AssociateProductWithPortfolioResult();
AssociateProductWithPortfolioResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AssociateProductWithPortfolioResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,249 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API AssociateServiceActionWithProvisioningArtifactRequest : public ServiceCatalogRequest
{
public:
AssociateServiceActionWithProvisioningArtifactRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "AssociateServiceActionWithProvisioningArtifact"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The product identifier. For example, <code>prod-abcdzk7xy33qa</code>.</p>
*/
inline const Aws::String& GetProductId() const{ return m_productId; }
/**
* <p>The product identifier. For example, <code>prod-abcdzk7xy33qa</code>.</p>
*/
inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
/**
* <p>The product identifier. For example, <code>prod-abcdzk7xy33qa</code>.</p>
*/
inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
/**
* <p>The product identifier. For example, <code>prod-abcdzk7xy33qa</code>.</p>
*/
inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
/**
* <p>The product identifier. For example, <code>prod-abcdzk7xy33qa</code>.</p>
*/
inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
/**
* <p>The product identifier. For example, <code>prod-abcdzk7xy33qa</code>.</p>
*/
inline AssociateServiceActionWithProvisioningArtifactRequest& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
/**
* <p>The product identifier. For example, <code>prod-abcdzk7xy33qa</code>.</p>
*/
inline AssociateServiceActionWithProvisioningArtifactRequest& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
/**
* <p>The product identifier. For example, <code>prod-abcdzk7xy33qa</code>.</p>
*/
inline AssociateServiceActionWithProvisioningArtifactRequest& WithProductId(const char* value) { SetProductId(value); return *this;}
/**
* <p>The identifier of the provisioning artifact. For example,
* <code>pa-4abcdjnxjj6ne</code>.</p>
*/
inline const Aws::String& GetProvisioningArtifactId() const{ return m_provisioningArtifactId; }
/**
* <p>The identifier of the provisioning artifact. For example,
* <code>pa-4abcdjnxjj6ne</code>.</p>
*/
inline bool ProvisioningArtifactIdHasBeenSet() const { return m_provisioningArtifactIdHasBeenSet; }
/**
* <p>The identifier of the provisioning artifact. For example,
* <code>pa-4abcdjnxjj6ne</code>.</p>
*/
inline void SetProvisioningArtifactId(const Aws::String& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = value; }
/**
* <p>The identifier of the provisioning artifact. For example,
* <code>pa-4abcdjnxjj6ne</code>.</p>
*/
inline void SetProvisioningArtifactId(Aws::String&& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = std::move(value); }
/**
* <p>The identifier of the provisioning artifact. For example,
* <code>pa-4abcdjnxjj6ne</code>.</p>
*/
inline void SetProvisioningArtifactId(const char* value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId.assign(value); }
/**
* <p>The identifier of the provisioning artifact. For example,
* <code>pa-4abcdjnxjj6ne</code>.</p>
*/
inline AssociateServiceActionWithProvisioningArtifactRequest& WithProvisioningArtifactId(const Aws::String& value) { SetProvisioningArtifactId(value); return *this;}
/**
* <p>The identifier of the provisioning artifact. For example,
* <code>pa-4abcdjnxjj6ne</code>.</p>
*/
inline AssociateServiceActionWithProvisioningArtifactRequest& WithProvisioningArtifactId(Aws::String&& value) { SetProvisioningArtifactId(std::move(value)); return *this;}
/**
* <p>The identifier of the provisioning artifact. For example,
* <code>pa-4abcdjnxjj6ne</code>.</p>
*/
inline AssociateServiceActionWithProvisioningArtifactRequest& WithProvisioningArtifactId(const char* value) { SetProvisioningArtifactId(value); return *this;}
/**
* <p>The self-service action identifier. For example,
* <code>act-fs7abcd89wxyz</code>.</p>
*/
inline const Aws::String& GetServiceActionId() const{ return m_serviceActionId; }
/**
* <p>The self-service action identifier. For example,
* <code>act-fs7abcd89wxyz</code>.</p>
*/
inline bool ServiceActionIdHasBeenSet() const { return m_serviceActionIdHasBeenSet; }
/**
* <p>The self-service action identifier. For example,
* <code>act-fs7abcd89wxyz</code>.</p>
*/
inline void SetServiceActionId(const Aws::String& value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId = value; }
/**
* <p>The self-service action identifier. For example,
* <code>act-fs7abcd89wxyz</code>.</p>
*/
inline void SetServiceActionId(Aws::String&& value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId = std::move(value); }
/**
* <p>The self-service action identifier. For example,
* <code>act-fs7abcd89wxyz</code>.</p>
*/
inline void SetServiceActionId(const char* value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId.assign(value); }
/**
* <p>The self-service action identifier. For example,
* <code>act-fs7abcd89wxyz</code>.</p>
*/
inline AssociateServiceActionWithProvisioningArtifactRequest& WithServiceActionId(const Aws::String& value) { SetServiceActionId(value); return *this;}
/**
* <p>The self-service action identifier. For example,
* <code>act-fs7abcd89wxyz</code>.</p>
*/
inline AssociateServiceActionWithProvisioningArtifactRequest& WithServiceActionId(Aws::String&& value) { SetServiceActionId(std::move(value)); return *this;}
/**
* <p>The self-service action identifier. For example,
* <code>act-fs7abcd89wxyz</code>.</p>
*/
inline AssociateServiceActionWithProvisioningArtifactRequest& WithServiceActionId(const char* value) { SetServiceActionId(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline AssociateServiceActionWithProvisioningArtifactRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline AssociateServiceActionWithProvisioningArtifactRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline AssociateServiceActionWithProvisioningArtifactRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
private:
Aws::String m_productId;
bool m_productIdHasBeenSet;
Aws::String m_provisioningArtifactId;
bool m_provisioningArtifactIdHasBeenSet;
Aws::String m_serviceActionId;
bool m_serviceActionIdHasBeenSet;
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API AssociateServiceActionWithProvisioningArtifactResult
{
public:
AssociateServiceActionWithProvisioningArtifactResult();
AssociateServiceActionWithProvisioningArtifactResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AssociateServiceActionWithProvisioningArtifactResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,129 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API AssociateTagOptionWithResourceRequest : public ServiceCatalogRequest
{
public:
AssociateTagOptionWithResourceRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "AssociateTagOptionWithResource"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The resource identifier.</p>
*/
inline const Aws::String& GetResourceId() const{ return m_resourceId; }
/**
* <p>The resource identifier.</p>
*/
inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
/**
* <p>The resource identifier.</p>
*/
inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
/**
* <p>The resource identifier.</p>
*/
inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
/**
* <p>The resource identifier.</p>
*/
inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
/**
* <p>The resource identifier.</p>
*/
inline AssociateTagOptionWithResourceRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
/**
* <p>The resource identifier.</p>
*/
inline AssociateTagOptionWithResourceRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
/**
* <p>The resource identifier.</p>
*/
inline AssociateTagOptionWithResourceRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
/**
* <p>The TagOption identifier.</p>
*/
inline const Aws::String& GetTagOptionId() const{ return m_tagOptionId; }
/**
* <p>The TagOption identifier.</p>
*/
inline bool TagOptionIdHasBeenSet() const { return m_tagOptionIdHasBeenSet; }
/**
* <p>The TagOption identifier.</p>
*/
inline void SetTagOptionId(const Aws::String& value) { m_tagOptionIdHasBeenSet = true; m_tagOptionId = value; }
/**
* <p>The TagOption identifier.</p>
*/
inline void SetTagOptionId(Aws::String&& value) { m_tagOptionIdHasBeenSet = true; m_tagOptionId = std::move(value); }
/**
* <p>The TagOption identifier.</p>
*/
inline void SetTagOptionId(const char* value) { m_tagOptionIdHasBeenSet = true; m_tagOptionId.assign(value); }
/**
* <p>The TagOption identifier.</p>
*/
inline AssociateTagOptionWithResourceRequest& WithTagOptionId(const Aws::String& value) { SetTagOptionId(value); return *this;}
/**
* <p>The TagOption identifier.</p>
*/
inline AssociateTagOptionWithResourceRequest& WithTagOptionId(Aws::String&& value) { SetTagOptionId(std::move(value)); return *this;}
/**
* <p>The TagOption identifier.</p>
*/
inline AssociateTagOptionWithResourceRequest& WithTagOptionId(const char* value) { SetTagOptionId(value); return *this;}
private:
Aws::String m_resourceId;
bool m_resourceIdHasBeenSet;
Aws::String m_tagOptionId;
bool m_tagOptionIdHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API AssociateTagOptionWithResourceResult
{
public:
AssociateTagOptionWithResourceResult();
AssociateTagOptionWithResourceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AssociateTagOptionWithResourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,155 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/servicecatalog/model/ServiceActionAssociation.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API BatchAssociateServiceActionWithProvisioningArtifactRequest : public ServiceCatalogRequest
{
public:
BatchAssociateServiceActionWithProvisioningArtifactRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "BatchAssociateServiceActionWithProvisioningArtifact"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>One or more associations, each consisting of the Action ID, the Product ID,
* and the Provisioning Artifact ID.</p>
*/
inline const Aws::Vector<ServiceActionAssociation>& GetServiceActionAssociations() const{ return m_serviceActionAssociations; }
/**
* <p>One or more associations, each consisting of the Action ID, the Product ID,
* and the Provisioning Artifact ID.</p>
*/
inline bool ServiceActionAssociationsHasBeenSet() const { return m_serviceActionAssociationsHasBeenSet; }
/**
* <p>One or more associations, each consisting of the Action ID, the Product ID,
* and the Provisioning Artifact ID.</p>
*/
inline void SetServiceActionAssociations(const Aws::Vector<ServiceActionAssociation>& value) { m_serviceActionAssociationsHasBeenSet = true; m_serviceActionAssociations = value; }
/**
* <p>One or more associations, each consisting of the Action ID, the Product ID,
* and the Provisioning Artifact ID.</p>
*/
inline void SetServiceActionAssociations(Aws::Vector<ServiceActionAssociation>&& value) { m_serviceActionAssociationsHasBeenSet = true; m_serviceActionAssociations = std::move(value); }
/**
* <p>One or more associations, each consisting of the Action ID, the Product ID,
* and the Provisioning Artifact ID.</p>
*/
inline BatchAssociateServiceActionWithProvisioningArtifactRequest& WithServiceActionAssociations(const Aws::Vector<ServiceActionAssociation>& value) { SetServiceActionAssociations(value); return *this;}
/**
* <p>One or more associations, each consisting of the Action ID, the Product ID,
* and the Provisioning Artifact ID.</p>
*/
inline BatchAssociateServiceActionWithProvisioningArtifactRequest& WithServiceActionAssociations(Aws::Vector<ServiceActionAssociation>&& value) { SetServiceActionAssociations(std::move(value)); return *this;}
/**
* <p>One or more associations, each consisting of the Action ID, the Product ID,
* and the Provisioning Artifact ID.</p>
*/
inline BatchAssociateServiceActionWithProvisioningArtifactRequest& AddServiceActionAssociations(const ServiceActionAssociation& value) { m_serviceActionAssociationsHasBeenSet = true; m_serviceActionAssociations.push_back(value); return *this; }
/**
* <p>One or more associations, each consisting of the Action ID, the Product ID,
* and the Provisioning Artifact ID.</p>
*/
inline BatchAssociateServiceActionWithProvisioningArtifactRequest& AddServiceActionAssociations(ServiceActionAssociation&& value) { m_serviceActionAssociationsHasBeenSet = true; m_serviceActionAssociations.push_back(std::move(value)); return *this; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline BatchAssociateServiceActionWithProvisioningArtifactRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline BatchAssociateServiceActionWithProvisioningArtifactRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline BatchAssociateServiceActionWithProvisioningArtifactRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
private:
Aws::Vector<ServiceActionAssociation> m_serviceActionAssociations;
bool m_serviceActionAssociationsHasBeenSet;
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,85 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/servicecatalog/model/FailedServiceActionAssociation.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API BatchAssociateServiceActionWithProvisioningArtifactResult
{
public:
BatchAssociateServiceActionWithProvisioningArtifactResult();
BatchAssociateServiceActionWithProvisioningArtifactResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
BatchAssociateServiceActionWithProvisioningArtifactResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>An object that contains a list of errors, along with information to help you
* identify the self-service action.</p>
*/
inline const Aws::Vector<FailedServiceActionAssociation>& GetFailedServiceActionAssociations() const{ return m_failedServiceActionAssociations; }
/**
* <p>An object that contains a list of errors, along with information to help you
* identify the self-service action.</p>
*/
inline void SetFailedServiceActionAssociations(const Aws::Vector<FailedServiceActionAssociation>& value) { m_failedServiceActionAssociations = value; }
/**
* <p>An object that contains a list of errors, along with information to help you
* identify the self-service action.</p>
*/
inline void SetFailedServiceActionAssociations(Aws::Vector<FailedServiceActionAssociation>&& value) { m_failedServiceActionAssociations = std::move(value); }
/**
* <p>An object that contains a list of errors, along with information to help you
* identify the self-service action.</p>
*/
inline BatchAssociateServiceActionWithProvisioningArtifactResult& WithFailedServiceActionAssociations(const Aws::Vector<FailedServiceActionAssociation>& value) { SetFailedServiceActionAssociations(value); return *this;}
/**
* <p>An object that contains a list of errors, along with information to help you
* identify the self-service action.</p>
*/
inline BatchAssociateServiceActionWithProvisioningArtifactResult& WithFailedServiceActionAssociations(Aws::Vector<FailedServiceActionAssociation>&& value) { SetFailedServiceActionAssociations(std::move(value)); return *this;}
/**
* <p>An object that contains a list of errors, along with information to help you
* identify the self-service action.</p>
*/
inline BatchAssociateServiceActionWithProvisioningArtifactResult& AddFailedServiceActionAssociations(const FailedServiceActionAssociation& value) { m_failedServiceActionAssociations.push_back(value); return *this; }
/**
* <p>An object that contains a list of errors, along with information to help you
* identify the self-service action.</p>
*/
inline BatchAssociateServiceActionWithProvisioningArtifactResult& AddFailedServiceActionAssociations(FailedServiceActionAssociation&& value) { m_failedServiceActionAssociations.push_back(std::move(value)); return *this; }
private:
Aws::Vector<FailedServiceActionAssociation> m_failedServiceActionAssociations;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,155 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/servicecatalog/model/ServiceActionAssociation.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API BatchDisassociateServiceActionFromProvisioningArtifactRequest : public ServiceCatalogRequest
{
public:
BatchDisassociateServiceActionFromProvisioningArtifactRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "BatchDisassociateServiceActionFromProvisioningArtifact"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>One or more associations, each consisting of the Action ID, the Product ID,
* and the Provisioning Artifact ID.</p>
*/
inline const Aws::Vector<ServiceActionAssociation>& GetServiceActionAssociations() const{ return m_serviceActionAssociations; }
/**
* <p>One or more associations, each consisting of the Action ID, the Product ID,
* and the Provisioning Artifact ID.</p>
*/
inline bool ServiceActionAssociationsHasBeenSet() const { return m_serviceActionAssociationsHasBeenSet; }
/**
* <p>One or more associations, each consisting of the Action ID, the Product ID,
* and the Provisioning Artifact ID.</p>
*/
inline void SetServiceActionAssociations(const Aws::Vector<ServiceActionAssociation>& value) { m_serviceActionAssociationsHasBeenSet = true; m_serviceActionAssociations = value; }
/**
* <p>One or more associations, each consisting of the Action ID, the Product ID,
* and the Provisioning Artifact ID.</p>
*/
inline void SetServiceActionAssociations(Aws::Vector<ServiceActionAssociation>&& value) { m_serviceActionAssociationsHasBeenSet = true; m_serviceActionAssociations = std::move(value); }
/**
* <p>One or more associations, each consisting of the Action ID, the Product ID,
* and the Provisioning Artifact ID.</p>
*/
inline BatchDisassociateServiceActionFromProvisioningArtifactRequest& WithServiceActionAssociations(const Aws::Vector<ServiceActionAssociation>& value) { SetServiceActionAssociations(value); return *this;}
/**
* <p>One or more associations, each consisting of the Action ID, the Product ID,
* and the Provisioning Artifact ID.</p>
*/
inline BatchDisassociateServiceActionFromProvisioningArtifactRequest& WithServiceActionAssociations(Aws::Vector<ServiceActionAssociation>&& value) { SetServiceActionAssociations(std::move(value)); return *this;}
/**
* <p>One or more associations, each consisting of the Action ID, the Product ID,
* and the Provisioning Artifact ID.</p>
*/
inline BatchDisassociateServiceActionFromProvisioningArtifactRequest& AddServiceActionAssociations(const ServiceActionAssociation& value) { m_serviceActionAssociationsHasBeenSet = true; m_serviceActionAssociations.push_back(value); return *this; }
/**
* <p>One or more associations, each consisting of the Action ID, the Product ID,
* and the Provisioning Artifact ID.</p>
*/
inline BatchDisassociateServiceActionFromProvisioningArtifactRequest& AddServiceActionAssociations(ServiceActionAssociation&& value) { m_serviceActionAssociationsHasBeenSet = true; m_serviceActionAssociations.push_back(std::move(value)); return *this; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline BatchDisassociateServiceActionFromProvisioningArtifactRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline BatchDisassociateServiceActionFromProvisioningArtifactRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline BatchDisassociateServiceActionFromProvisioningArtifactRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
private:
Aws::Vector<ServiceActionAssociation> m_serviceActionAssociations;
bool m_serviceActionAssociationsHasBeenSet;
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,85 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/servicecatalog/model/FailedServiceActionAssociation.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API BatchDisassociateServiceActionFromProvisioningArtifactResult
{
public:
BatchDisassociateServiceActionFromProvisioningArtifactResult();
BatchDisassociateServiceActionFromProvisioningArtifactResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
BatchDisassociateServiceActionFromProvisioningArtifactResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>An object that contains a list of errors, along with information to help you
* identify the self-service action.</p>
*/
inline const Aws::Vector<FailedServiceActionAssociation>& GetFailedServiceActionAssociations() const{ return m_failedServiceActionAssociations; }
/**
* <p>An object that contains a list of errors, along with information to help you
* identify the self-service action.</p>
*/
inline void SetFailedServiceActionAssociations(const Aws::Vector<FailedServiceActionAssociation>& value) { m_failedServiceActionAssociations = value; }
/**
* <p>An object that contains a list of errors, along with information to help you
* identify the self-service action.</p>
*/
inline void SetFailedServiceActionAssociations(Aws::Vector<FailedServiceActionAssociation>&& value) { m_failedServiceActionAssociations = std::move(value); }
/**
* <p>An object that contains a list of errors, along with information to help you
* identify the self-service action.</p>
*/
inline BatchDisassociateServiceActionFromProvisioningArtifactResult& WithFailedServiceActionAssociations(const Aws::Vector<FailedServiceActionAssociation>& value) { SetFailedServiceActionAssociations(value); return *this;}
/**
* <p>An object that contains a list of errors, along with information to help you
* identify the self-service action.</p>
*/
inline BatchDisassociateServiceActionFromProvisioningArtifactResult& WithFailedServiceActionAssociations(Aws::Vector<FailedServiceActionAssociation>&& value) { SetFailedServiceActionAssociations(std::move(value)); return *this;}
/**
* <p>An object that contains a list of errors, along with information to help you
* identify the self-service action.</p>
*/
inline BatchDisassociateServiceActionFromProvisioningArtifactResult& AddFailedServiceActionAssociations(const FailedServiceActionAssociation& value) { m_failedServiceActionAssociations.push_back(value); return *this; }
/**
* <p>An object that contains a list of errors, along with information to help you
* identify the self-service action.</p>
*/
inline BatchDisassociateServiceActionFromProvisioningArtifactResult& AddFailedServiceActionAssociations(FailedServiceActionAssociation&& value) { m_failedServiceActionAssociations.push_back(std::move(value)); return *this; }
private:
Aws::Vector<FailedServiceActionAssociation> m_failedServiceActionAssociations;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,88 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
/**
* <p>Information about a budget.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/BudgetDetail">AWS
* API Reference</a></p>
*/
class AWS_SERVICECATALOG_API BudgetDetail
{
public:
BudgetDetail();
BudgetDetail(Aws::Utils::Json::JsonView jsonValue);
BudgetDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Name of the associated budget.</p>
*/
inline const Aws::String& GetBudgetName() const{ return m_budgetName; }
/**
* <p>Name of the associated budget.</p>
*/
inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
/**
* <p>Name of the associated budget.</p>
*/
inline void SetBudgetName(const Aws::String& value) { m_budgetNameHasBeenSet = true; m_budgetName = value; }
/**
* <p>Name of the associated budget.</p>
*/
inline void SetBudgetName(Aws::String&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::move(value); }
/**
* <p>Name of the associated budget.</p>
*/
inline void SetBudgetName(const char* value) { m_budgetNameHasBeenSet = true; m_budgetName.assign(value); }
/**
* <p>Name of the associated budget.</p>
*/
inline BudgetDetail& WithBudgetName(const Aws::String& value) { SetBudgetName(value); return *this;}
/**
* <p>Name of the associated budget.</p>
*/
inline BudgetDetail& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;}
/**
* <p>Name of the associated budget.</p>
*/
inline BudgetDetail& WithBudgetName(const char* value) { SetBudgetName(value); return *this;}
private:
Aws::String m_budgetName;
bool m_budgetNameHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,32 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
enum class ChangeAction
{
NOT_SET,
ADD,
MODIFY,
REMOVE
};
namespace ChangeActionMapper
{
AWS_SERVICECATALOG_API ChangeAction GetChangeActionForName(const Aws::String& name);
AWS_SERVICECATALOG_API Aws::String GetNameForChangeAction(ChangeAction value);
} // namespace ChangeActionMapper
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,88 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
/**
* <p>Information about a CloudWatch dashboard.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CloudWatchDashboard">AWS
* API Reference</a></p>
*/
class AWS_SERVICECATALOG_API CloudWatchDashboard
{
public:
CloudWatchDashboard();
CloudWatchDashboard(Aws::Utils::Json::JsonView jsonValue);
CloudWatchDashboard& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the CloudWatch dashboard.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the CloudWatch dashboard.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the CloudWatch dashboard.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the CloudWatch dashboard.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the CloudWatch dashboard.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the CloudWatch dashboard.</p>
*/
inline CloudWatchDashboard& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the CloudWatch dashboard.</p>
*/
inline CloudWatchDashboard& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the CloudWatch dashboard.</p>
*/
inline CloudWatchDashboard& WithName(const char* value) { SetName(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,356 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
/**
* <p>Information about a constraint.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ConstraintDetail">AWS
* API Reference</a></p>
*/
class AWS_SERVICECATALOG_API ConstraintDetail
{
public:
ConstraintDetail();
ConstraintDetail(Aws::Utils::Json::JsonView jsonValue);
ConstraintDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The identifier of the constraint.</p>
*/
inline const Aws::String& GetConstraintId() const{ return m_constraintId; }
/**
* <p>The identifier of the constraint.</p>
*/
inline bool ConstraintIdHasBeenSet() const { return m_constraintIdHasBeenSet; }
/**
* <p>The identifier of the constraint.</p>
*/
inline void SetConstraintId(const Aws::String& value) { m_constraintIdHasBeenSet = true; m_constraintId = value; }
/**
* <p>The identifier of the constraint.</p>
*/
inline void SetConstraintId(Aws::String&& value) { m_constraintIdHasBeenSet = true; m_constraintId = std::move(value); }
/**
* <p>The identifier of the constraint.</p>
*/
inline void SetConstraintId(const char* value) { m_constraintIdHasBeenSet = true; m_constraintId.assign(value); }
/**
* <p>The identifier of the constraint.</p>
*/
inline ConstraintDetail& WithConstraintId(const Aws::String& value) { SetConstraintId(value); return *this;}
/**
* <p>The identifier of the constraint.</p>
*/
inline ConstraintDetail& WithConstraintId(Aws::String&& value) { SetConstraintId(std::move(value)); return *this;}
/**
* <p>The identifier of the constraint.</p>
*/
inline ConstraintDetail& WithConstraintId(const char* value) { SetConstraintId(value); return *this;}
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p>STACKSET</p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline const Aws::String& GetType() const{ return m_type; }
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p>STACKSET</p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p>STACKSET</p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p>STACKSET</p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p>STACKSET</p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p>STACKSET</p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline ConstraintDetail& WithType(const Aws::String& value) { SetType(value); return *this;}
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p>STACKSET</p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline ConstraintDetail& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p>STACKSET</p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline ConstraintDetail& WithType(const char* value) { SetType(value); return *this;}
/**
* <p>The description of the constraint.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>The description of the constraint.</p>
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* <p>The description of the constraint.</p>
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* <p>The description of the constraint.</p>
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* <p>The description of the constraint.</p>
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* <p>The description of the constraint.</p>
*/
inline ConstraintDetail& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>The description of the constraint.</p>
*/
inline ConstraintDetail& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>The description of the constraint.</p>
*/
inline ConstraintDetail& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* <p>The owner of the constraint.</p>
*/
inline const Aws::String& GetOwner() const{ return m_owner; }
/**
* <p>The owner of the constraint.</p>
*/
inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
/**
* <p>The owner of the constraint.</p>
*/
inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
/**
* <p>The owner of the constraint.</p>
*/
inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
/**
* <p>The owner of the constraint.</p>
*/
inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
/**
* <p>The owner of the constraint.</p>
*/
inline ConstraintDetail& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
/**
* <p>The owner of the constraint.</p>
*/
inline ConstraintDetail& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
/**
* <p>The owner of the constraint.</p>
*/
inline ConstraintDetail& WithOwner(const char* value) { SetOwner(value); return *this;}
/**
* <p>The identifier of the product the constraint applies to. Note that a
* constraint applies to a specific instance of a product within a certain
* portfolio.</p>
*/
inline const Aws::String& GetProductId() const{ return m_productId; }
/**
* <p>The identifier of the product the constraint applies to. Note that a
* constraint applies to a specific instance of a product within a certain
* portfolio.</p>
*/
inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
/**
* <p>The identifier of the product the constraint applies to. Note that a
* constraint applies to a specific instance of a product within a certain
* portfolio.</p>
*/
inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
/**
* <p>The identifier of the product the constraint applies to. Note that a
* constraint applies to a specific instance of a product within a certain
* portfolio.</p>
*/
inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
/**
* <p>The identifier of the product the constraint applies to. Note that a
* constraint applies to a specific instance of a product within a certain
* portfolio.</p>
*/
inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
/**
* <p>The identifier of the product the constraint applies to. Note that a
* constraint applies to a specific instance of a product within a certain
* portfolio.</p>
*/
inline ConstraintDetail& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
/**
* <p>The identifier of the product the constraint applies to. Note that a
* constraint applies to a specific instance of a product within a certain
* portfolio.</p>
*/
inline ConstraintDetail& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
/**
* <p>The identifier of the product the constraint applies to. Note that a
* constraint applies to a specific instance of a product within a certain
* portfolio.</p>
*/
inline ConstraintDetail& WithProductId(const char* value) { SetProductId(value); return *this;}
/**
* <p>The identifier of the portfolio the product resides in. The constraint
* applies only to the instance of the product that lives within this
* portfolio.</p>
*/
inline const Aws::String& GetPortfolioId() const{ return m_portfolioId; }
/**
* <p>The identifier of the portfolio the product resides in. The constraint
* applies only to the instance of the product that lives within this
* portfolio.</p>
*/
inline bool PortfolioIdHasBeenSet() const { return m_portfolioIdHasBeenSet; }
/**
* <p>The identifier of the portfolio the product resides in. The constraint
* applies only to the instance of the product that lives within this
* portfolio.</p>
*/
inline void SetPortfolioId(const Aws::String& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = value; }
/**
* <p>The identifier of the portfolio the product resides in. The constraint
* applies only to the instance of the product that lives within this
* portfolio.</p>
*/
inline void SetPortfolioId(Aws::String&& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = std::move(value); }
/**
* <p>The identifier of the portfolio the product resides in. The constraint
* applies only to the instance of the product that lives within this
* portfolio.</p>
*/
inline void SetPortfolioId(const char* value) { m_portfolioIdHasBeenSet = true; m_portfolioId.assign(value); }
/**
* <p>The identifier of the portfolio the product resides in. The constraint
* applies only to the instance of the product that lives within this
* portfolio.</p>
*/
inline ConstraintDetail& WithPortfolioId(const Aws::String& value) { SetPortfolioId(value); return *this;}
/**
* <p>The identifier of the portfolio the product resides in. The constraint
* applies only to the instance of the product that lives within this
* portfolio.</p>
*/
inline ConstraintDetail& WithPortfolioId(Aws::String&& value) { SetPortfolioId(std::move(value)); return *this;}
/**
* <p>The identifier of the portfolio the product resides in. The constraint
* applies only to the instance of the product that lives within this
* portfolio.</p>
*/
inline ConstraintDetail& WithPortfolioId(const char* value) { SetPortfolioId(value); return *this;}
private:
Aws::String m_constraintId;
bool m_constraintIdHasBeenSet;
Aws::String m_type;
bool m_typeHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::String m_owner;
bool m_ownerHasBeenSet;
Aws::String m_productId;
bool m_productIdHasBeenSet;
Aws::String m_portfolioId;
bool m_portfolioIdHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,148 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
/**
* <p>Summary information about a constraint.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ConstraintSummary">AWS
* API Reference</a></p>
*/
class AWS_SERVICECATALOG_API ConstraintSummary
{
public:
ConstraintSummary();
ConstraintSummary(Aws::Utils::Json::JsonView jsonValue);
ConstraintSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p>STACKSET</p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline const Aws::String& GetType() const{ return m_type; }
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p>STACKSET</p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p>STACKSET</p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p>STACKSET</p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p>STACKSET</p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p>STACKSET</p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline ConstraintSummary& WithType(const Aws::String& value) { SetType(value); return *this;}
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p>STACKSET</p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline ConstraintSummary& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p>STACKSET</p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline ConstraintSummary& WithType(const char* value) { SetType(value); return *this;}
/**
* <p>The description of the constraint.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>The description of the constraint.</p>
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* <p>The description of the constraint.</p>
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* <p>The description of the constraint.</p>
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* <p>The description of the constraint.</p>
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* <p>The description of the constraint.</p>
*/
inline ConstraintSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>The description of the constraint.</p>
*/
inline ConstraintSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>The description of the constraint.</p>
*/
inline ConstraintSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
private:
Aws::String m_type;
bool m_typeHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,30 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
enum class CopyOption
{
NOT_SET,
CopyTags
};
namespace CopyOptionMapper
{
AWS_SERVICECATALOG_API CopyOption GetCopyOptionForName(const Aws::String& name);
AWS_SERVICECATALOG_API Aws::String GetNameForCopyOption(CopyOption value);
} // namespace CopyOptionMapper
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,418 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/servicecatalog/model/CopyOption.h>
#include <aws/servicecatalog/model/ProvisioningArtifactPropertyName.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API CopyProductRequest : public ServiceCatalogRequest
{
public:
CopyProductRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CopyProduct"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CopyProductRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CopyProductRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CopyProductRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the source product.</p>
*/
inline const Aws::String& GetSourceProductArn() const{ return m_sourceProductArn; }
/**
* <p>The Amazon Resource Name (ARN) of the source product.</p>
*/
inline bool SourceProductArnHasBeenSet() const { return m_sourceProductArnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the source product.</p>
*/
inline void SetSourceProductArn(const Aws::String& value) { m_sourceProductArnHasBeenSet = true; m_sourceProductArn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the source product.</p>
*/
inline void SetSourceProductArn(Aws::String&& value) { m_sourceProductArnHasBeenSet = true; m_sourceProductArn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the source product.</p>
*/
inline void SetSourceProductArn(const char* value) { m_sourceProductArnHasBeenSet = true; m_sourceProductArn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the source product.</p>
*/
inline CopyProductRequest& WithSourceProductArn(const Aws::String& value) { SetSourceProductArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the source product.</p>
*/
inline CopyProductRequest& WithSourceProductArn(Aws::String&& value) { SetSourceProductArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the source product.</p>
*/
inline CopyProductRequest& WithSourceProductArn(const char* value) { SetSourceProductArn(value); return *this;}
/**
* <p>The identifier of the target product. By default, a new product is
* created.</p>
*/
inline const Aws::String& GetTargetProductId() const{ return m_targetProductId; }
/**
* <p>The identifier of the target product. By default, a new product is
* created.</p>
*/
inline bool TargetProductIdHasBeenSet() const { return m_targetProductIdHasBeenSet; }
/**
* <p>The identifier of the target product. By default, a new product is
* created.</p>
*/
inline void SetTargetProductId(const Aws::String& value) { m_targetProductIdHasBeenSet = true; m_targetProductId = value; }
/**
* <p>The identifier of the target product. By default, a new product is
* created.</p>
*/
inline void SetTargetProductId(Aws::String&& value) { m_targetProductIdHasBeenSet = true; m_targetProductId = std::move(value); }
/**
* <p>The identifier of the target product. By default, a new product is
* created.</p>
*/
inline void SetTargetProductId(const char* value) { m_targetProductIdHasBeenSet = true; m_targetProductId.assign(value); }
/**
* <p>The identifier of the target product. By default, a new product is
* created.</p>
*/
inline CopyProductRequest& WithTargetProductId(const Aws::String& value) { SetTargetProductId(value); return *this;}
/**
* <p>The identifier of the target product. By default, a new product is
* created.</p>
*/
inline CopyProductRequest& WithTargetProductId(Aws::String&& value) { SetTargetProductId(std::move(value)); return *this;}
/**
* <p>The identifier of the target product. By default, a new product is
* created.</p>
*/
inline CopyProductRequest& WithTargetProductId(const char* value) { SetTargetProductId(value); return *this;}
/**
* <p>A name for the target product. The default is the name of the source
* product.</p>
*/
inline const Aws::String& GetTargetProductName() const{ return m_targetProductName; }
/**
* <p>A name for the target product. The default is the name of the source
* product.</p>
*/
inline bool TargetProductNameHasBeenSet() const { return m_targetProductNameHasBeenSet; }
/**
* <p>A name for the target product. The default is the name of the source
* product.</p>
*/
inline void SetTargetProductName(const Aws::String& value) { m_targetProductNameHasBeenSet = true; m_targetProductName = value; }
/**
* <p>A name for the target product. The default is the name of the source
* product.</p>
*/
inline void SetTargetProductName(Aws::String&& value) { m_targetProductNameHasBeenSet = true; m_targetProductName = std::move(value); }
/**
* <p>A name for the target product. The default is the name of the source
* product.</p>
*/
inline void SetTargetProductName(const char* value) { m_targetProductNameHasBeenSet = true; m_targetProductName.assign(value); }
/**
* <p>A name for the target product. The default is the name of the source
* product.</p>
*/
inline CopyProductRequest& WithTargetProductName(const Aws::String& value) { SetTargetProductName(value); return *this;}
/**
* <p>A name for the target product. The default is the name of the source
* product.</p>
*/
inline CopyProductRequest& WithTargetProductName(Aws::String&& value) { SetTargetProductName(std::move(value)); return *this;}
/**
* <p>A name for the target product. The default is the name of the source
* product.</p>
*/
inline CopyProductRequest& WithTargetProductName(const char* value) { SetTargetProductName(value); return *this;}
/**
* <p>The identifiers of the provisioning artifacts (also known as versions) of the
* product to copy. By default, all provisioning artifacts are copied.</p>
*/
inline const Aws::Vector<Aws::Map<ProvisioningArtifactPropertyName, Aws::String>>& GetSourceProvisioningArtifactIdentifiers() const{ return m_sourceProvisioningArtifactIdentifiers; }
/**
* <p>The identifiers of the provisioning artifacts (also known as versions) of the
* product to copy. By default, all provisioning artifacts are copied.</p>
*/
inline bool SourceProvisioningArtifactIdentifiersHasBeenSet() const { return m_sourceProvisioningArtifactIdentifiersHasBeenSet; }
/**
* <p>The identifiers of the provisioning artifacts (also known as versions) of the
* product to copy. By default, all provisioning artifacts are copied.</p>
*/
inline void SetSourceProvisioningArtifactIdentifiers(const Aws::Vector<Aws::Map<ProvisioningArtifactPropertyName, Aws::String>>& value) { m_sourceProvisioningArtifactIdentifiersHasBeenSet = true; m_sourceProvisioningArtifactIdentifiers = value; }
/**
* <p>The identifiers of the provisioning artifacts (also known as versions) of the
* product to copy. By default, all provisioning artifacts are copied.</p>
*/
inline void SetSourceProvisioningArtifactIdentifiers(Aws::Vector<Aws::Map<ProvisioningArtifactPropertyName, Aws::String>>&& value) { m_sourceProvisioningArtifactIdentifiersHasBeenSet = true; m_sourceProvisioningArtifactIdentifiers = std::move(value); }
/**
* <p>The identifiers of the provisioning artifacts (also known as versions) of the
* product to copy. By default, all provisioning artifacts are copied.</p>
*/
inline CopyProductRequest& WithSourceProvisioningArtifactIdentifiers(const Aws::Vector<Aws::Map<ProvisioningArtifactPropertyName, Aws::String>>& value) { SetSourceProvisioningArtifactIdentifiers(value); return *this;}
/**
* <p>The identifiers of the provisioning artifacts (also known as versions) of the
* product to copy. By default, all provisioning artifacts are copied.</p>
*/
inline CopyProductRequest& WithSourceProvisioningArtifactIdentifiers(Aws::Vector<Aws::Map<ProvisioningArtifactPropertyName, Aws::String>>&& value) { SetSourceProvisioningArtifactIdentifiers(std::move(value)); return *this;}
/**
* <p>The identifiers of the provisioning artifacts (also known as versions) of the
* product to copy. By default, all provisioning artifacts are copied.</p>
*/
inline CopyProductRequest& AddSourceProvisioningArtifactIdentifiers(const Aws::Map<ProvisioningArtifactPropertyName, Aws::String>& value) { m_sourceProvisioningArtifactIdentifiersHasBeenSet = true; m_sourceProvisioningArtifactIdentifiers.push_back(value); return *this; }
/**
* <p>The identifiers of the provisioning artifacts (also known as versions) of the
* product to copy. By default, all provisioning artifacts are copied.</p>
*/
inline CopyProductRequest& AddSourceProvisioningArtifactIdentifiers(Aws::Map<ProvisioningArtifactPropertyName, Aws::String>&& value) { m_sourceProvisioningArtifactIdentifiersHasBeenSet = true; m_sourceProvisioningArtifactIdentifiers.push_back(std::move(value)); return *this; }
/**
* <p>The copy options. If the value is <code>CopyTags</code>, the tags from the
* source product are copied to the target product.</p>
*/
inline const Aws::Vector<CopyOption>& GetCopyOptions() const{ return m_copyOptions; }
/**
* <p>The copy options. If the value is <code>CopyTags</code>, the tags from the
* source product are copied to the target product.</p>
*/
inline bool CopyOptionsHasBeenSet() const { return m_copyOptionsHasBeenSet; }
/**
* <p>The copy options. If the value is <code>CopyTags</code>, the tags from the
* source product are copied to the target product.</p>
*/
inline void SetCopyOptions(const Aws::Vector<CopyOption>& value) { m_copyOptionsHasBeenSet = true; m_copyOptions = value; }
/**
* <p>The copy options. If the value is <code>CopyTags</code>, the tags from the
* source product are copied to the target product.</p>
*/
inline void SetCopyOptions(Aws::Vector<CopyOption>&& value) { m_copyOptionsHasBeenSet = true; m_copyOptions = std::move(value); }
/**
* <p>The copy options. If the value is <code>CopyTags</code>, the tags from the
* source product are copied to the target product.</p>
*/
inline CopyProductRequest& WithCopyOptions(const Aws::Vector<CopyOption>& value) { SetCopyOptions(value); return *this;}
/**
* <p>The copy options. If the value is <code>CopyTags</code>, the tags from the
* source product are copied to the target product.</p>
*/
inline CopyProductRequest& WithCopyOptions(Aws::Vector<CopyOption>&& value) { SetCopyOptions(std::move(value)); return *this;}
/**
* <p>The copy options. If the value is <code>CopyTags</code>, the tags from the
* source product are copied to the target product.</p>
*/
inline CopyProductRequest& AddCopyOptions(const CopyOption& value) { m_copyOptionsHasBeenSet = true; m_copyOptions.push_back(value); return *this; }
/**
* <p>The copy options. If the value is <code>CopyTags</code>, the tags from the
* source product are copied to the target product.</p>
*/
inline CopyProductRequest& AddCopyOptions(CopyOption&& value) { m_copyOptionsHasBeenSet = true; m_copyOptions.push_back(std::move(value)); return *this; }
/**
* <p> A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request. </p>
*/
inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
/**
* <p> A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request. </p>
*/
inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
/**
* <p> A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request. </p>
*/
inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
/**
* <p> A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request. </p>
*/
inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
/**
* <p> A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request. </p>
*/
inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
/**
* <p> A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request. </p>
*/
inline CopyProductRequest& WithIdempotencyToken(const Aws::String& value) { SetIdempotencyToken(value); return *this;}
/**
* <p> A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request. </p>
*/
inline CopyProductRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
/**
* <p> A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request. </p>
*/
inline CopyProductRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_sourceProductArn;
bool m_sourceProductArnHasBeenSet;
Aws::String m_targetProductId;
bool m_targetProductIdHasBeenSet;
Aws::String m_targetProductName;
bool m_targetProductNameHasBeenSet;
Aws::Vector<Aws::Map<ProvisioningArtifactPropertyName, Aws::String>> m_sourceProvisioningArtifactIdentifiers;
bool m_sourceProvisioningArtifactIdentifiersHasBeenSet;
Aws::Vector<CopyOption> m_copyOptions;
bool m_copyOptionsHasBeenSet;
Aws::String m_idempotencyToken;
bool m_idempotencyTokenHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,77 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API CopyProductResult
{
public:
CopyProductResult();
CopyProductResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CopyProductResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The token to use to track the progress of the operation.</p>
*/
inline const Aws::String& GetCopyProductToken() const{ return m_copyProductToken; }
/**
* <p>The token to use to track the progress of the operation.</p>
*/
inline void SetCopyProductToken(const Aws::String& value) { m_copyProductToken = value; }
/**
* <p>The token to use to track the progress of the operation.</p>
*/
inline void SetCopyProductToken(Aws::String&& value) { m_copyProductToken = std::move(value); }
/**
* <p>The token to use to track the progress of the operation.</p>
*/
inline void SetCopyProductToken(const char* value) { m_copyProductToken.assign(value); }
/**
* <p>The token to use to track the progress of the operation.</p>
*/
inline CopyProductResult& WithCopyProductToken(const Aws::String& value) { SetCopyProductToken(value); return *this;}
/**
* <p>The token to use to track the progress of the operation.</p>
*/
inline CopyProductResult& WithCopyProductToken(Aws::String&& value) { SetCopyProductToken(std::move(value)); return *this;}
/**
* <p>The token to use to track the progress of the operation.</p>
*/
inline CopyProductResult& WithCopyProductToken(const char* value) { SetCopyProductToken(value); return *this;}
private:
Aws::String m_copyProductToken;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,32 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
enum class CopyProductStatus
{
NOT_SET,
SUCCEEDED,
IN_PROGRESS,
FAILED
};
namespace CopyProductStatusMapper
{
AWS_SERVICECATALOG_API CopyProductStatus GetCopyProductStatusForName(const Aws::String& name);
AWS_SERVICECATALOG_API Aws::String GetNameForCopyProductStatus(CopyProductStatus value);
} // namespace CopyProductStatusMapper
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,670 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API CreateConstraintRequest : public ServiceCatalogRequest
{
public:
CreateConstraintRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateConstraint"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreateConstraintRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreateConstraintRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreateConstraintRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline const Aws::String& GetPortfolioId() const{ return m_portfolioId; }
/**
* <p>The portfolio identifier.</p>
*/
inline bool PortfolioIdHasBeenSet() const { return m_portfolioIdHasBeenSet; }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(const Aws::String& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = value; }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(Aws::String&& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = std::move(value); }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(const char* value) { m_portfolioIdHasBeenSet = true; m_portfolioId.assign(value); }
/**
* <p>The portfolio identifier.</p>
*/
inline CreateConstraintRequest& WithPortfolioId(const Aws::String& value) { SetPortfolioId(value); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline CreateConstraintRequest& WithPortfolioId(Aws::String&& value) { SetPortfolioId(std::move(value)); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline CreateConstraintRequest& WithPortfolioId(const char* value) { SetPortfolioId(value); return *this;}
/**
* <p>The product identifier.</p>
*/
inline const Aws::String& GetProductId() const{ return m_productId; }
/**
* <p>The product identifier.</p>
*/
inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
/**
* <p>The product identifier.</p>
*/
inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
/**
* <p>The product identifier.</p>
*/
inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
/**
* <p>The product identifier.</p>
*/
inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
/**
* <p>The product identifier.</p>
*/
inline CreateConstraintRequest& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
/**
* <p>The product identifier.</p>
*/
inline CreateConstraintRequest& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
/**
* <p>The product identifier.</p>
*/
inline CreateConstraintRequest& WithProductId(const char* value) { SetProductId(value); return *this;}
/**
* <p>The constraint parameters, in JSON format. The syntax depends on the
* constraint type as follows:</p> <dl> <dt>LAUNCH</dt> <dd> <p>You are required to
* specify either the <code>RoleArn</code> or the <code>LocalRoleName</code> but
* can't use both.</p> <p>Specify the <code>RoleArn</code> property as follows:</p>
* <p> <code>{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"}</code> </p>
* <p>Specify the <code>LocalRoleName</code> property as follows:</p> <p>
* <code>{"LocalRoleName": "SCBasicLaunchRole"}</code> </p> <p>If you specify the
* <code>LocalRoleName</code> property, when an account uses the launch constraint,
* the IAM role with that name in the account will be used. This allows launch-role
* constraints to be account-agnostic so the administrator can create fewer
* resources per shared account.</p> <p>The given role name must exist in
* the account used to create the launch constraint and the account of the user who
* launches a product with this launch constraint.</p> <p>You cannot have
* both a <code>LAUNCH</code> and a <code>STACKSET</code> constraint.</p> <p>You
* also cannot have more than one <code>LAUNCH</code> constraint on a product and
* portfolio.</p> </dd> <dt>NOTIFICATION</dt> <dd> <p>Specify the
* <code>NotificationArns</code> property as follows:</p> <p>
* <code>{"NotificationArns" : ["arn:aws:sns:us-east-1:123456789012:Topic"]}</code>
* </p> </dd> <dt>RESOURCE_UPDATE</dt> <dd> <p>Specify the
* <code>TagUpdatesOnProvisionedProduct</code> property as follows:</p> <p>
* <code>{"Version":"2.0","Properties":{"TagUpdateOnProvisionedProduct":"String"}}</code>
* </p> <p>The <code>TagUpdatesOnProvisionedProduct</code> property accepts a
* string value of <code>ALLOWED</code> or <code>NOT_ALLOWED</code>.</p> </dd>
* <dt>STACKSET</dt> <dd> <p>Specify the <code>Parameters</code> property as
* follows:</p> <p> <code>{"Version": "String", "Properties": {"AccountList": [
* "String" ], "RegionList": [ "String" ], "AdminRole": "String", "ExecutionRole":
* "String"}}</code> </p> <p>You cannot have both a <code>LAUNCH</code> and a
* <code>STACKSET</code> constraint.</p> <p>You also cannot have more than one
* <code>STACKSET</code> constraint on a product and portfolio.</p> <p>Products
* with a <code>STACKSET</code> constraint will launch an AWS CloudFormation stack
* set.</p> </dd> <dt>TEMPLATE</dt> <dd> <p>Specify the <code>Rules</code>
* property. For more information, see <a
* href="http://docs.aws.amazon.com/servicecatalog/latest/adminguide/reference-template_constraint_rules.html">Template
* Constraint Rules</a>.</p> </dd> </dl>
*/
inline const Aws::String& GetParameters() const{ return m_parameters; }
/**
* <p>The constraint parameters, in JSON format. The syntax depends on the
* constraint type as follows:</p> <dl> <dt>LAUNCH</dt> <dd> <p>You are required to
* specify either the <code>RoleArn</code> or the <code>LocalRoleName</code> but
* can't use both.</p> <p>Specify the <code>RoleArn</code> property as follows:</p>
* <p> <code>{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"}</code> </p>
* <p>Specify the <code>LocalRoleName</code> property as follows:</p> <p>
* <code>{"LocalRoleName": "SCBasicLaunchRole"}</code> </p> <p>If you specify the
* <code>LocalRoleName</code> property, when an account uses the launch constraint,
* the IAM role with that name in the account will be used. This allows launch-role
* constraints to be account-agnostic so the administrator can create fewer
* resources per shared account.</p> <p>The given role name must exist in
* the account used to create the launch constraint and the account of the user who
* launches a product with this launch constraint.</p> <p>You cannot have
* both a <code>LAUNCH</code> and a <code>STACKSET</code> constraint.</p> <p>You
* also cannot have more than one <code>LAUNCH</code> constraint on a product and
* portfolio.</p> </dd> <dt>NOTIFICATION</dt> <dd> <p>Specify the
* <code>NotificationArns</code> property as follows:</p> <p>
* <code>{"NotificationArns" : ["arn:aws:sns:us-east-1:123456789012:Topic"]}</code>
* </p> </dd> <dt>RESOURCE_UPDATE</dt> <dd> <p>Specify the
* <code>TagUpdatesOnProvisionedProduct</code> property as follows:</p> <p>
* <code>{"Version":"2.0","Properties":{"TagUpdateOnProvisionedProduct":"String"}}</code>
* </p> <p>The <code>TagUpdatesOnProvisionedProduct</code> property accepts a
* string value of <code>ALLOWED</code> or <code>NOT_ALLOWED</code>.</p> </dd>
* <dt>STACKSET</dt> <dd> <p>Specify the <code>Parameters</code> property as
* follows:</p> <p> <code>{"Version": "String", "Properties": {"AccountList": [
* "String" ], "RegionList": [ "String" ], "AdminRole": "String", "ExecutionRole":
* "String"}}</code> </p> <p>You cannot have both a <code>LAUNCH</code> and a
* <code>STACKSET</code> constraint.</p> <p>You also cannot have more than one
* <code>STACKSET</code> constraint on a product and portfolio.</p> <p>Products
* with a <code>STACKSET</code> constraint will launch an AWS CloudFormation stack
* set.</p> </dd> <dt>TEMPLATE</dt> <dd> <p>Specify the <code>Rules</code>
* property. For more information, see <a
* href="http://docs.aws.amazon.com/servicecatalog/latest/adminguide/reference-template_constraint_rules.html">Template
* Constraint Rules</a>.</p> </dd> </dl>
*/
inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
/**
* <p>The constraint parameters, in JSON format. The syntax depends on the
* constraint type as follows:</p> <dl> <dt>LAUNCH</dt> <dd> <p>You are required to
* specify either the <code>RoleArn</code> or the <code>LocalRoleName</code> but
* can't use both.</p> <p>Specify the <code>RoleArn</code> property as follows:</p>
* <p> <code>{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"}</code> </p>
* <p>Specify the <code>LocalRoleName</code> property as follows:</p> <p>
* <code>{"LocalRoleName": "SCBasicLaunchRole"}</code> </p> <p>If you specify the
* <code>LocalRoleName</code> property, when an account uses the launch constraint,
* the IAM role with that name in the account will be used. This allows launch-role
* constraints to be account-agnostic so the administrator can create fewer
* resources per shared account.</p> <p>The given role name must exist in
* the account used to create the launch constraint and the account of the user who
* launches a product with this launch constraint.</p> <p>You cannot have
* both a <code>LAUNCH</code> and a <code>STACKSET</code> constraint.</p> <p>You
* also cannot have more than one <code>LAUNCH</code> constraint on a product and
* portfolio.</p> </dd> <dt>NOTIFICATION</dt> <dd> <p>Specify the
* <code>NotificationArns</code> property as follows:</p> <p>
* <code>{"NotificationArns" : ["arn:aws:sns:us-east-1:123456789012:Topic"]}</code>
* </p> </dd> <dt>RESOURCE_UPDATE</dt> <dd> <p>Specify the
* <code>TagUpdatesOnProvisionedProduct</code> property as follows:</p> <p>
* <code>{"Version":"2.0","Properties":{"TagUpdateOnProvisionedProduct":"String"}}</code>
* </p> <p>The <code>TagUpdatesOnProvisionedProduct</code> property accepts a
* string value of <code>ALLOWED</code> or <code>NOT_ALLOWED</code>.</p> </dd>
* <dt>STACKSET</dt> <dd> <p>Specify the <code>Parameters</code> property as
* follows:</p> <p> <code>{"Version": "String", "Properties": {"AccountList": [
* "String" ], "RegionList": [ "String" ], "AdminRole": "String", "ExecutionRole":
* "String"}}</code> </p> <p>You cannot have both a <code>LAUNCH</code> and a
* <code>STACKSET</code> constraint.</p> <p>You also cannot have more than one
* <code>STACKSET</code> constraint on a product and portfolio.</p> <p>Products
* with a <code>STACKSET</code> constraint will launch an AWS CloudFormation stack
* set.</p> </dd> <dt>TEMPLATE</dt> <dd> <p>Specify the <code>Rules</code>
* property. For more information, see <a
* href="http://docs.aws.amazon.com/servicecatalog/latest/adminguide/reference-template_constraint_rules.html">Template
* Constraint Rules</a>.</p> </dd> </dl>
*/
inline void SetParameters(const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters = value; }
/**
* <p>The constraint parameters, in JSON format. The syntax depends on the
* constraint type as follows:</p> <dl> <dt>LAUNCH</dt> <dd> <p>You are required to
* specify either the <code>RoleArn</code> or the <code>LocalRoleName</code> but
* can't use both.</p> <p>Specify the <code>RoleArn</code> property as follows:</p>
* <p> <code>{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"}</code> </p>
* <p>Specify the <code>LocalRoleName</code> property as follows:</p> <p>
* <code>{"LocalRoleName": "SCBasicLaunchRole"}</code> </p> <p>If you specify the
* <code>LocalRoleName</code> property, when an account uses the launch constraint,
* the IAM role with that name in the account will be used. This allows launch-role
* constraints to be account-agnostic so the administrator can create fewer
* resources per shared account.</p> <p>The given role name must exist in
* the account used to create the launch constraint and the account of the user who
* launches a product with this launch constraint.</p> <p>You cannot have
* both a <code>LAUNCH</code> and a <code>STACKSET</code> constraint.</p> <p>You
* also cannot have more than one <code>LAUNCH</code> constraint on a product and
* portfolio.</p> </dd> <dt>NOTIFICATION</dt> <dd> <p>Specify the
* <code>NotificationArns</code> property as follows:</p> <p>
* <code>{"NotificationArns" : ["arn:aws:sns:us-east-1:123456789012:Topic"]}</code>
* </p> </dd> <dt>RESOURCE_UPDATE</dt> <dd> <p>Specify the
* <code>TagUpdatesOnProvisionedProduct</code> property as follows:</p> <p>
* <code>{"Version":"2.0","Properties":{"TagUpdateOnProvisionedProduct":"String"}}</code>
* </p> <p>The <code>TagUpdatesOnProvisionedProduct</code> property accepts a
* string value of <code>ALLOWED</code> or <code>NOT_ALLOWED</code>.</p> </dd>
* <dt>STACKSET</dt> <dd> <p>Specify the <code>Parameters</code> property as
* follows:</p> <p> <code>{"Version": "String", "Properties": {"AccountList": [
* "String" ], "RegionList": [ "String" ], "AdminRole": "String", "ExecutionRole":
* "String"}}</code> </p> <p>You cannot have both a <code>LAUNCH</code> and a
* <code>STACKSET</code> constraint.</p> <p>You also cannot have more than one
* <code>STACKSET</code> constraint on a product and portfolio.</p> <p>Products
* with a <code>STACKSET</code> constraint will launch an AWS CloudFormation stack
* set.</p> </dd> <dt>TEMPLATE</dt> <dd> <p>Specify the <code>Rules</code>
* property. For more information, see <a
* href="http://docs.aws.amazon.com/servicecatalog/latest/adminguide/reference-template_constraint_rules.html">Template
* Constraint Rules</a>.</p> </dd> </dl>
*/
inline void SetParameters(Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
/**
* <p>The constraint parameters, in JSON format. The syntax depends on the
* constraint type as follows:</p> <dl> <dt>LAUNCH</dt> <dd> <p>You are required to
* specify either the <code>RoleArn</code> or the <code>LocalRoleName</code> but
* can't use both.</p> <p>Specify the <code>RoleArn</code> property as follows:</p>
* <p> <code>{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"}</code> </p>
* <p>Specify the <code>LocalRoleName</code> property as follows:</p> <p>
* <code>{"LocalRoleName": "SCBasicLaunchRole"}</code> </p> <p>If you specify the
* <code>LocalRoleName</code> property, when an account uses the launch constraint,
* the IAM role with that name in the account will be used. This allows launch-role
* constraints to be account-agnostic so the administrator can create fewer
* resources per shared account.</p> <p>The given role name must exist in
* the account used to create the launch constraint and the account of the user who
* launches a product with this launch constraint.</p> <p>You cannot have
* both a <code>LAUNCH</code> and a <code>STACKSET</code> constraint.</p> <p>You
* also cannot have more than one <code>LAUNCH</code> constraint on a product and
* portfolio.</p> </dd> <dt>NOTIFICATION</dt> <dd> <p>Specify the
* <code>NotificationArns</code> property as follows:</p> <p>
* <code>{"NotificationArns" : ["arn:aws:sns:us-east-1:123456789012:Topic"]}</code>
* </p> </dd> <dt>RESOURCE_UPDATE</dt> <dd> <p>Specify the
* <code>TagUpdatesOnProvisionedProduct</code> property as follows:</p> <p>
* <code>{"Version":"2.0","Properties":{"TagUpdateOnProvisionedProduct":"String"}}</code>
* </p> <p>The <code>TagUpdatesOnProvisionedProduct</code> property accepts a
* string value of <code>ALLOWED</code> or <code>NOT_ALLOWED</code>.</p> </dd>
* <dt>STACKSET</dt> <dd> <p>Specify the <code>Parameters</code> property as
* follows:</p> <p> <code>{"Version": "String", "Properties": {"AccountList": [
* "String" ], "RegionList": [ "String" ], "AdminRole": "String", "ExecutionRole":
* "String"}}</code> </p> <p>You cannot have both a <code>LAUNCH</code> and a
* <code>STACKSET</code> constraint.</p> <p>You also cannot have more than one
* <code>STACKSET</code> constraint on a product and portfolio.</p> <p>Products
* with a <code>STACKSET</code> constraint will launch an AWS CloudFormation stack
* set.</p> </dd> <dt>TEMPLATE</dt> <dd> <p>Specify the <code>Rules</code>
* property. For more information, see <a
* href="http://docs.aws.amazon.com/servicecatalog/latest/adminguide/reference-template_constraint_rules.html">Template
* Constraint Rules</a>.</p> </dd> </dl>
*/
inline void SetParameters(const char* value) { m_parametersHasBeenSet = true; m_parameters.assign(value); }
/**
* <p>The constraint parameters, in JSON format. The syntax depends on the
* constraint type as follows:</p> <dl> <dt>LAUNCH</dt> <dd> <p>You are required to
* specify either the <code>RoleArn</code> or the <code>LocalRoleName</code> but
* can't use both.</p> <p>Specify the <code>RoleArn</code> property as follows:</p>
* <p> <code>{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"}</code> </p>
* <p>Specify the <code>LocalRoleName</code> property as follows:</p> <p>
* <code>{"LocalRoleName": "SCBasicLaunchRole"}</code> </p> <p>If you specify the
* <code>LocalRoleName</code> property, when an account uses the launch constraint,
* the IAM role with that name in the account will be used. This allows launch-role
* constraints to be account-agnostic so the administrator can create fewer
* resources per shared account.</p> <p>The given role name must exist in
* the account used to create the launch constraint and the account of the user who
* launches a product with this launch constraint.</p> <p>You cannot have
* both a <code>LAUNCH</code> and a <code>STACKSET</code> constraint.</p> <p>You
* also cannot have more than one <code>LAUNCH</code> constraint on a product and
* portfolio.</p> </dd> <dt>NOTIFICATION</dt> <dd> <p>Specify the
* <code>NotificationArns</code> property as follows:</p> <p>
* <code>{"NotificationArns" : ["arn:aws:sns:us-east-1:123456789012:Topic"]}</code>
* </p> </dd> <dt>RESOURCE_UPDATE</dt> <dd> <p>Specify the
* <code>TagUpdatesOnProvisionedProduct</code> property as follows:</p> <p>
* <code>{"Version":"2.0","Properties":{"TagUpdateOnProvisionedProduct":"String"}}</code>
* </p> <p>The <code>TagUpdatesOnProvisionedProduct</code> property accepts a
* string value of <code>ALLOWED</code> or <code>NOT_ALLOWED</code>.</p> </dd>
* <dt>STACKSET</dt> <dd> <p>Specify the <code>Parameters</code> property as
* follows:</p> <p> <code>{"Version": "String", "Properties": {"AccountList": [
* "String" ], "RegionList": [ "String" ], "AdminRole": "String", "ExecutionRole":
* "String"}}</code> </p> <p>You cannot have both a <code>LAUNCH</code> and a
* <code>STACKSET</code> constraint.</p> <p>You also cannot have more than one
* <code>STACKSET</code> constraint on a product and portfolio.</p> <p>Products
* with a <code>STACKSET</code> constraint will launch an AWS CloudFormation stack
* set.</p> </dd> <dt>TEMPLATE</dt> <dd> <p>Specify the <code>Rules</code>
* property. For more information, see <a
* href="http://docs.aws.amazon.com/servicecatalog/latest/adminguide/reference-template_constraint_rules.html">Template
* Constraint Rules</a>.</p> </dd> </dl>
*/
inline CreateConstraintRequest& WithParameters(const Aws::String& value) { SetParameters(value); return *this;}
/**
* <p>The constraint parameters, in JSON format. The syntax depends on the
* constraint type as follows:</p> <dl> <dt>LAUNCH</dt> <dd> <p>You are required to
* specify either the <code>RoleArn</code> or the <code>LocalRoleName</code> but
* can't use both.</p> <p>Specify the <code>RoleArn</code> property as follows:</p>
* <p> <code>{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"}</code> </p>
* <p>Specify the <code>LocalRoleName</code> property as follows:</p> <p>
* <code>{"LocalRoleName": "SCBasicLaunchRole"}</code> </p> <p>If you specify the
* <code>LocalRoleName</code> property, when an account uses the launch constraint,
* the IAM role with that name in the account will be used. This allows launch-role
* constraints to be account-agnostic so the administrator can create fewer
* resources per shared account.</p> <p>The given role name must exist in
* the account used to create the launch constraint and the account of the user who
* launches a product with this launch constraint.</p> <p>You cannot have
* both a <code>LAUNCH</code> and a <code>STACKSET</code> constraint.</p> <p>You
* also cannot have more than one <code>LAUNCH</code> constraint on a product and
* portfolio.</p> </dd> <dt>NOTIFICATION</dt> <dd> <p>Specify the
* <code>NotificationArns</code> property as follows:</p> <p>
* <code>{"NotificationArns" : ["arn:aws:sns:us-east-1:123456789012:Topic"]}</code>
* </p> </dd> <dt>RESOURCE_UPDATE</dt> <dd> <p>Specify the
* <code>TagUpdatesOnProvisionedProduct</code> property as follows:</p> <p>
* <code>{"Version":"2.0","Properties":{"TagUpdateOnProvisionedProduct":"String"}}</code>
* </p> <p>The <code>TagUpdatesOnProvisionedProduct</code> property accepts a
* string value of <code>ALLOWED</code> or <code>NOT_ALLOWED</code>.</p> </dd>
* <dt>STACKSET</dt> <dd> <p>Specify the <code>Parameters</code> property as
* follows:</p> <p> <code>{"Version": "String", "Properties": {"AccountList": [
* "String" ], "RegionList": [ "String" ], "AdminRole": "String", "ExecutionRole":
* "String"}}</code> </p> <p>You cannot have both a <code>LAUNCH</code> and a
* <code>STACKSET</code> constraint.</p> <p>You also cannot have more than one
* <code>STACKSET</code> constraint on a product and portfolio.</p> <p>Products
* with a <code>STACKSET</code> constraint will launch an AWS CloudFormation stack
* set.</p> </dd> <dt>TEMPLATE</dt> <dd> <p>Specify the <code>Rules</code>
* property. For more information, see <a
* href="http://docs.aws.amazon.com/servicecatalog/latest/adminguide/reference-template_constraint_rules.html">Template
* Constraint Rules</a>.</p> </dd> </dl>
*/
inline CreateConstraintRequest& WithParameters(Aws::String&& value) { SetParameters(std::move(value)); return *this;}
/**
* <p>The constraint parameters, in JSON format. The syntax depends on the
* constraint type as follows:</p> <dl> <dt>LAUNCH</dt> <dd> <p>You are required to
* specify either the <code>RoleArn</code> or the <code>LocalRoleName</code> but
* can't use both.</p> <p>Specify the <code>RoleArn</code> property as follows:</p>
* <p> <code>{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"}</code> </p>
* <p>Specify the <code>LocalRoleName</code> property as follows:</p> <p>
* <code>{"LocalRoleName": "SCBasicLaunchRole"}</code> </p> <p>If you specify the
* <code>LocalRoleName</code> property, when an account uses the launch constraint,
* the IAM role with that name in the account will be used. This allows launch-role
* constraints to be account-agnostic so the administrator can create fewer
* resources per shared account.</p> <p>The given role name must exist in
* the account used to create the launch constraint and the account of the user who
* launches a product with this launch constraint.</p> <p>You cannot have
* both a <code>LAUNCH</code> and a <code>STACKSET</code> constraint.</p> <p>You
* also cannot have more than one <code>LAUNCH</code> constraint on a product and
* portfolio.</p> </dd> <dt>NOTIFICATION</dt> <dd> <p>Specify the
* <code>NotificationArns</code> property as follows:</p> <p>
* <code>{"NotificationArns" : ["arn:aws:sns:us-east-1:123456789012:Topic"]}</code>
* </p> </dd> <dt>RESOURCE_UPDATE</dt> <dd> <p>Specify the
* <code>TagUpdatesOnProvisionedProduct</code> property as follows:</p> <p>
* <code>{"Version":"2.0","Properties":{"TagUpdateOnProvisionedProduct":"String"}}</code>
* </p> <p>The <code>TagUpdatesOnProvisionedProduct</code> property accepts a
* string value of <code>ALLOWED</code> or <code>NOT_ALLOWED</code>.</p> </dd>
* <dt>STACKSET</dt> <dd> <p>Specify the <code>Parameters</code> property as
* follows:</p> <p> <code>{"Version": "String", "Properties": {"AccountList": [
* "String" ], "RegionList": [ "String" ], "AdminRole": "String", "ExecutionRole":
* "String"}}</code> </p> <p>You cannot have both a <code>LAUNCH</code> and a
* <code>STACKSET</code> constraint.</p> <p>You also cannot have more than one
* <code>STACKSET</code> constraint on a product and portfolio.</p> <p>Products
* with a <code>STACKSET</code> constraint will launch an AWS CloudFormation stack
* set.</p> </dd> <dt>TEMPLATE</dt> <dd> <p>Specify the <code>Rules</code>
* property. For more information, see <a
* href="http://docs.aws.amazon.com/servicecatalog/latest/adminguide/reference-template_constraint_rules.html">Template
* Constraint Rules</a>.</p> </dd> </dl>
*/
inline CreateConstraintRequest& WithParameters(const char* value) { SetParameters(value); return *this;}
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p> <code>RESOURCE_UPDATE</code>
* </p> </li> <li> <p> <code>STACKSET</code> </p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline const Aws::String& GetType() const{ return m_type; }
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p> <code>RESOURCE_UPDATE</code>
* </p> </li> <li> <p> <code>STACKSET</code> </p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p> <code>RESOURCE_UPDATE</code>
* </p> </li> <li> <p> <code>STACKSET</code> </p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p> <code>RESOURCE_UPDATE</code>
* </p> </li> <li> <p> <code>STACKSET</code> </p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p> <code>RESOURCE_UPDATE</code>
* </p> </li> <li> <p> <code>STACKSET</code> </p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p> <code>RESOURCE_UPDATE</code>
* </p> </li> <li> <p> <code>STACKSET</code> </p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline CreateConstraintRequest& WithType(const Aws::String& value) { SetType(value); return *this;}
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p> <code>RESOURCE_UPDATE</code>
* </p> </li> <li> <p> <code>STACKSET</code> </p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline CreateConstraintRequest& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
/**
* <p>The type of constraint.</p> <ul> <li> <p> <code>LAUNCH</code> </p> </li> <li>
* <p> <code>NOTIFICATION</code> </p> </li> <li> <p> <code>RESOURCE_UPDATE</code>
* </p> </li> <li> <p> <code>STACKSET</code> </p> </li> <li> <p>
* <code>TEMPLATE</code> </p> </li> </ul>
*/
inline CreateConstraintRequest& WithType(const char* value) { SetType(value); return *this;}
/**
* <p>The description of the constraint.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>The description of the constraint.</p>
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* <p>The description of the constraint.</p>
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* <p>The description of the constraint.</p>
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* <p>The description of the constraint.</p>
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* <p>The description of the constraint.</p>
*/
inline CreateConstraintRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>The description of the constraint.</p>
*/
inline CreateConstraintRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>The description of the constraint.</p>
*/
inline CreateConstraintRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline CreateConstraintRequest& WithIdempotencyToken(const Aws::String& value) { SetIdempotencyToken(value); return *this;}
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline CreateConstraintRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline CreateConstraintRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_portfolioId;
bool m_portfolioIdHasBeenSet;
Aws::String m_productId;
bool m_productIdHasBeenSet;
Aws::String m_parameters;
bool m_parametersHasBeenSet;
Aws::String m_type;
bool m_typeHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::String m_idempotencyToken;
bool m_idempotencyTokenHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,135 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/model/ConstraintDetail.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/servicecatalog/model/Status.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API CreateConstraintResult
{
public:
CreateConstraintResult();
CreateConstraintResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateConstraintResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Information about the constraint.</p>
*/
inline const ConstraintDetail& GetConstraintDetail() const{ return m_constraintDetail; }
/**
* <p>Information about the constraint.</p>
*/
inline void SetConstraintDetail(const ConstraintDetail& value) { m_constraintDetail = value; }
/**
* <p>Information about the constraint.</p>
*/
inline void SetConstraintDetail(ConstraintDetail&& value) { m_constraintDetail = std::move(value); }
/**
* <p>Information about the constraint.</p>
*/
inline CreateConstraintResult& WithConstraintDetail(const ConstraintDetail& value) { SetConstraintDetail(value); return *this;}
/**
* <p>Information about the constraint.</p>
*/
inline CreateConstraintResult& WithConstraintDetail(ConstraintDetail&& value) { SetConstraintDetail(std::move(value)); return *this;}
/**
* <p>The constraint parameters.</p>
*/
inline const Aws::String& GetConstraintParameters() const{ return m_constraintParameters; }
/**
* <p>The constraint parameters.</p>
*/
inline void SetConstraintParameters(const Aws::String& value) { m_constraintParameters = value; }
/**
* <p>The constraint parameters.</p>
*/
inline void SetConstraintParameters(Aws::String&& value) { m_constraintParameters = std::move(value); }
/**
* <p>The constraint parameters.</p>
*/
inline void SetConstraintParameters(const char* value) { m_constraintParameters.assign(value); }
/**
* <p>The constraint parameters.</p>
*/
inline CreateConstraintResult& WithConstraintParameters(const Aws::String& value) { SetConstraintParameters(value); return *this;}
/**
* <p>The constraint parameters.</p>
*/
inline CreateConstraintResult& WithConstraintParameters(Aws::String&& value) { SetConstraintParameters(std::move(value)); return *this;}
/**
* <p>The constraint parameters.</p>
*/
inline CreateConstraintResult& WithConstraintParameters(const char* value) { SetConstraintParameters(value); return *this;}
/**
* <p>The status of the current request.</p>
*/
inline const Status& GetStatus() const{ return m_status; }
/**
* <p>The status of the current request.</p>
*/
inline void SetStatus(const Status& value) { m_status = value; }
/**
* <p>The status of the current request.</p>
*/
inline void SetStatus(Status&& value) { m_status = std::move(value); }
/**
* <p>The status of the current request.</p>
*/
inline CreateConstraintResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
/**
* <p>The status of the current request.</p>
*/
inline CreateConstraintResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
private:
ConstraintDetail m_constraintDetail;
Aws::String m_constraintParameters;
Status m_status;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,340 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/servicecatalog/model/Tag.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API CreatePortfolioRequest : public ServiceCatalogRequest
{
public:
CreatePortfolioRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreatePortfolio"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreatePortfolioRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreatePortfolioRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreatePortfolioRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The name to use for display purposes.</p>
*/
inline const Aws::String& GetDisplayName() const{ return m_displayName; }
/**
* <p>The name to use for display purposes.</p>
*/
inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
/**
* <p>The name to use for display purposes.</p>
*/
inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
/**
* <p>The name to use for display purposes.</p>
*/
inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
/**
* <p>The name to use for display purposes.</p>
*/
inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
/**
* <p>The name to use for display purposes.</p>
*/
inline CreatePortfolioRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
/**
* <p>The name to use for display purposes.</p>
*/
inline CreatePortfolioRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
/**
* <p>The name to use for display purposes.</p>
*/
inline CreatePortfolioRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
/**
* <p>The description of the portfolio.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>The description of the portfolio.</p>
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* <p>The description of the portfolio.</p>
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* <p>The description of the portfolio.</p>
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* <p>The description of the portfolio.</p>
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* <p>The description of the portfolio.</p>
*/
inline CreatePortfolioRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>The description of the portfolio.</p>
*/
inline CreatePortfolioRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>The description of the portfolio.</p>
*/
inline CreatePortfolioRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* <p>The name of the portfolio provider.</p>
*/
inline const Aws::String& GetProviderName() const{ return m_providerName; }
/**
* <p>The name of the portfolio provider.</p>
*/
inline bool ProviderNameHasBeenSet() const { return m_providerNameHasBeenSet; }
/**
* <p>The name of the portfolio provider.</p>
*/
inline void SetProviderName(const Aws::String& value) { m_providerNameHasBeenSet = true; m_providerName = value; }
/**
* <p>The name of the portfolio provider.</p>
*/
inline void SetProviderName(Aws::String&& value) { m_providerNameHasBeenSet = true; m_providerName = std::move(value); }
/**
* <p>The name of the portfolio provider.</p>
*/
inline void SetProviderName(const char* value) { m_providerNameHasBeenSet = true; m_providerName.assign(value); }
/**
* <p>The name of the portfolio provider.</p>
*/
inline CreatePortfolioRequest& WithProviderName(const Aws::String& value) { SetProviderName(value); return *this;}
/**
* <p>The name of the portfolio provider.</p>
*/
inline CreatePortfolioRequest& WithProviderName(Aws::String&& value) { SetProviderName(std::move(value)); return *this;}
/**
* <p>The name of the portfolio provider.</p>
*/
inline CreatePortfolioRequest& WithProviderName(const char* value) { SetProviderName(value); return *this;}
/**
* <p>One or more tags.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>One or more tags.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>One or more tags.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>One or more tags.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>One or more tags.</p>
*/
inline CreatePortfolioRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>One or more tags.</p>
*/
inline CreatePortfolioRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>One or more tags.</p>
*/
inline CreatePortfolioRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>One or more tags.</p>
*/
inline CreatePortfolioRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline CreatePortfolioRequest& WithIdempotencyToken(const Aws::String& value) { SetIdempotencyToken(value); return *this;}
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline CreatePortfolioRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline CreatePortfolioRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_displayName;
bool m_displayNameHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::String m_providerName;
bool m_providerNameHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
Aws::String m_idempotencyToken;
bool m_idempotencyTokenHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,107 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/model/PortfolioDetail.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/servicecatalog/model/Tag.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API CreatePortfolioResult
{
public:
CreatePortfolioResult();
CreatePortfolioResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreatePortfolioResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Information about the portfolio.</p>
*/
inline const PortfolioDetail& GetPortfolioDetail() const{ return m_portfolioDetail; }
/**
* <p>Information about the portfolio.</p>
*/
inline void SetPortfolioDetail(const PortfolioDetail& value) { m_portfolioDetail = value; }
/**
* <p>Information about the portfolio.</p>
*/
inline void SetPortfolioDetail(PortfolioDetail&& value) { m_portfolioDetail = std::move(value); }
/**
* <p>Information about the portfolio.</p>
*/
inline CreatePortfolioResult& WithPortfolioDetail(const PortfolioDetail& value) { SetPortfolioDetail(value); return *this;}
/**
* <p>Information about the portfolio.</p>
*/
inline CreatePortfolioResult& WithPortfolioDetail(PortfolioDetail&& value) { SetPortfolioDetail(std::move(value)); return *this;}
/**
* <p>Information about the tags associated with the portfolio.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>Information about the tags associated with the portfolio.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
/**
* <p>Information about the tags associated with the portfolio.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
/**
* <p>Information about the tags associated with the portfolio.</p>
*/
inline CreatePortfolioResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>Information about the tags associated with the portfolio.</p>
*/
inline CreatePortfolioResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>Information about the tags associated with the portfolio.</p>
*/
inline CreatePortfolioResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
/**
* <p>Information about the tags associated with the portfolio.</p>
*/
inline CreatePortfolioResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
private:
PortfolioDetail m_portfolioDetail;
Aws::Vector<Tag> m_tags;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,254 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/servicecatalog/model/OrganizationNode.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API CreatePortfolioShareRequest : public ServiceCatalogRequest
{
public:
CreatePortfolioShareRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreatePortfolioShare"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreatePortfolioShareRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreatePortfolioShareRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreatePortfolioShareRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline const Aws::String& GetPortfolioId() const{ return m_portfolioId; }
/**
* <p>The portfolio identifier.</p>
*/
inline bool PortfolioIdHasBeenSet() const { return m_portfolioIdHasBeenSet; }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(const Aws::String& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = value; }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(Aws::String&& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = std::move(value); }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(const char* value) { m_portfolioIdHasBeenSet = true; m_portfolioId.assign(value); }
/**
* <p>The portfolio identifier.</p>
*/
inline CreatePortfolioShareRequest& WithPortfolioId(const Aws::String& value) { SetPortfolioId(value); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline CreatePortfolioShareRequest& WithPortfolioId(Aws::String&& value) { SetPortfolioId(std::move(value)); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline CreatePortfolioShareRequest& WithPortfolioId(const char* value) { SetPortfolioId(value); return *this;}
/**
* <p>The AWS account ID. For example, <code>123456789012</code>.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The AWS account ID. For example, <code>123456789012</code>.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The AWS account ID. For example, <code>123456789012</code>.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The AWS account ID. For example, <code>123456789012</code>.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The AWS account ID. For example, <code>123456789012</code>.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The AWS account ID. For example, <code>123456789012</code>.</p>
*/
inline CreatePortfolioShareRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The AWS account ID. For example, <code>123456789012</code>.</p>
*/
inline CreatePortfolioShareRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The AWS account ID. For example, <code>123456789012</code>.</p>
*/
inline CreatePortfolioShareRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>The organization node to whom you are going to share. If
* <code>OrganizationNode</code> is passed in, <code>PortfolioShare</code> will be
* created for the node and its children (when applies), and a
* <code>PortfolioShareToken</code> will be returned in the output in order for the
* administrator to monitor the status of the <code>PortfolioShare</code> creation
* process.</p>
*/
inline const OrganizationNode& GetOrganizationNode() const{ return m_organizationNode; }
/**
* <p>The organization node to whom you are going to share. If
* <code>OrganizationNode</code> is passed in, <code>PortfolioShare</code> will be
* created for the node and its children (when applies), and a
* <code>PortfolioShareToken</code> will be returned in the output in order for the
* administrator to monitor the status of the <code>PortfolioShare</code> creation
* process.</p>
*/
inline bool OrganizationNodeHasBeenSet() const { return m_organizationNodeHasBeenSet; }
/**
* <p>The organization node to whom you are going to share. If
* <code>OrganizationNode</code> is passed in, <code>PortfolioShare</code> will be
* created for the node and its children (when applies), and a
* <code>PortfolioShareToken</code> will be returned in the output in order for the
* administrator to monitor the status of the <code>PortfolioShare</code> creation
* process.</p>
*/
inline void SetOrganizationNode(const OrganizationNode& value) { m_organizationNodeHasBeenSet = true; m_organizationNode = value; }
/**
* <p>The organization node to whom you are going to share. If
* <code>OrganizationNode</code> is passed in, <code>PortfolioShare</code> will be
* created for the node and its children (when applies), and a
* <code>PortfolioShareToken</code> will be returned in the output in order for the
* administrator to monitor the status of the <code>PortfolioShare</code> creation
* process.</p>
*/
inline void SetOrganizationNode(OrganizationNode&& value) { m_organizationNodeHasBeenSet = true; m_organizationNode = std::move(value); }
/**
* <p>The organization node to whom you are going to share. If
* <code>OrganizationNode</code> is passed in, <code>PortfolioShare</code> will be
* created for the node and its children (when applies), and a
* <code>PortfolioShareToken</code> will be returned in the output in order for the
* administrator to monitor the status of the <code>PortfolioShare</code> creation
* process.</p>
*/
inline CreatePortfolioShareRequest& WithOrganizationNode(const OrganizationNode& value) { SetOrganizationNode(value); return *this;}
/**
* <p>The organization node to whom you are going to share. If
* <code>OrganizationNode</code> is passed in, <code>PortfolioShare</code> will be
* created for the node and its children (when applies), and a
* <code>PortfolioShareToken</code> will be returned in the output in order for the
* administrator to monitor the status of the <code>PortfolioShare</code> creation
* process.</p>
*/
inline CreatePortfolioShareRequest& WithOrganizationNode(OrganizationNode&& value) { SetOrganizationNode(std::move(value)); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_portfolioId;
bool m_portfolioIdHasBeenSet;
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
OrganizationNode m_organizationNode;
bool m_organizationNodeHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,84 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API CreatePortfolioShareResult
{
public:
CreatePortfolioShareResult();
CreatePortfolioShareResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreatePortfolioShareResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The portfolio share unique identifier. This will only be returned if
* portfolio is shared to an organization node.</p>
*/
inline const Aws::String& GetPortfolioShareToken() const{ return m_portfolioShareToken; }
/**
* <p>The portfolio share unique identifier. This will only be returned if
* portfolio is shared to an organization node.</p>
*/
inline void SetPortfolioShareToken(const Aws::String& value) { m_portfolioShareToken = value; }
/**
* <p>The portfolio share unique identifier. This will only be returned if
* portfolio is shared to an organization node.</p>
*/
inline void SetPortfolioShareToken(Aws::String&& value) { m_portfolioShareToken = std::move(value); }
/**
* <p>The portfolio share unique identifier. This will only be returned if
* portfolio is shared to an organization node.</p>
*/
inline void SetPortfolioShareToken(const char* value) { m_portfolioShareToken.assign(value); }
/**
* <p>The portfolio share unique identifier. This will only be returned if
* portfolio is shared to an organization node.</p>
*/
inline CreatePortfolioShareResult& WithPortfolioShareToken(const Aws::String& value) { SetPortfolioShareToken(value); return *this;}
/**
* <p>The portfolio share unique identifier. This will only be returned if
* portfolio is shared to an organization node.</p>
*/
inline CreatePortfolioShareResult& WithPortfolioShareToken(Aws::String&& value) { SetPortfolioShareToken(std::move(value)); return *this;}
/**
* <p>The portfolio share unique identifier. This will only be returned if
* portfolio is shared to an organization node.</p>
*/
inline CreatePortfolioShareResult& WithPortfolioShareToken(const char* value) { SetPortfolioShareToken(value); return *this;}
private:
Aws::String m_portfolioShareToken;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,586 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/servicecatalog/model/ProductType.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/servicecatalog/model/ProvisioningArtifactProperties.h>
#include <aws/servicecatalog/model/Tag.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API CreateProductRequest : public ServiceCatalogRequest
{
public:
CreateProductRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateProduct"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreateProductRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreateProductRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreateProductRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The name of the product.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the product.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the product.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the product.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the product.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the product.</p>
*/
inline CreateProductRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the product.</p>
*/
inline CreateProductRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the product.</p>
*/
inline CreateProductRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The owner of the product.</p>
*/
inline const Aws::String& GetOwner() const{ return m_owner; }
/**
* <p>The owner of the product.</p>
*/
inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
/**
* <p>The owner of the product.</p>
*/
inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
/**
* <p>The owner of the product.</p>
*/
inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
/**
* <p>The owner of the product.</p>
*/
inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
/**
* <p>The owner of the product.</p>
*/
inline CreateProductRequest& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
/**
* <p>The owner of the product.</p>
*/
inline CreateProductRequest& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
/**
* <p>The owner of the product.</p>
*/
inline CreateProductRequest& WithOwner(const char* value) { SetOwner(value); return *this;}
/**
* <p>The description of the product.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>The description of the product.</p>
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* <p>The description of the product.</p>
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* <p>The description of the product.</p>
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* <p>The description of the product.</p>
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* <p>The description of the product.</p>
*/
inline CreateProductRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>The description of the product.</p>
*/
inline CreateProductRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>The description of the product.</p>
*/
inline CreateProductRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* <p>The distributor of the product.</p>
*/
inline const Aws::String& GetDistributor() const{ return m_distributor; }
/**
* <p>The distributor of the product.</p>
*/
inline bool DistributorHasBeenSet() const { return m_distributorHasBeenSet; }
/**
* <p>The distributor of the product.</p>
*/
inline void SetDistributor(const Aws::String& value) { m_distributorHasBeenSet = true; m_distributor = value; }
/**
* <p>The distributor of the product.</p>
*/
inline void SetDistributor(Aws::String&& value) { m_distributorHasBeenSet = true; m_distributor = std::move(value); }
/**
* <p>The distributor of the product.</p>
*/
inline void SetDistributor(const char* value) { m_distributorHasBeenSet = true; m_distributor.assign(value); }
/**
* <p>The distributor of the product.</p>
*/
inline CreateProductRequest& WithDistributor(const Aws::String& value) { SetDistributor(value); return *this;}
/**
* <p>The distributor of the product.</p>
*/
inline CreateProductRequest& WithDistributor(Aws::String&& value) { SetDistributor(std::move(value)); return *this;}
/**
* <p>The distributor of the product.</p>
*/
inline CreateProductRequest& WithDistributor(const char* value) { SetDistributor(value); return *this;}
/**
* <p>The support information about the product.</p>
*/
inline const Aws::String& GetSupportDescription() const{ return m_supportDescription; }
/**
* <p>The support information about the product.</p>
*/
inline bool SupportDescriptionHasBeenSet() const { return m_supportDescriptionHasBeenSet; }
/**
* <p>The support information about the product.</p>
*/
inline void SetSupportDescription(const Aws::String& value) { m_supportDescriptionHasBeenSet = true; m_supportDescription = value; }
/**
* <p>The support information about the product.</p>
*/
inline void SetSupportDescription(Aws::String&& value) { m_supportDescriptionHasBeenSet = true; m_supportDescription = std::move(value); }
/**
* <p>The support information about the product.</p>
*/
inline void SetSupportDescription(const char* value) { m_supportDescriptionHasBeenSet = true; m_supportDescription.assign(value); }
/**
* <p>The support information about the product.</p>
*/
inline CreateProductRequest& WithSupportDescription(const Aws::String& value) { SetSupportDescription(value); return *this;}
/**
* <p>The support information about the product.</p>
*/
inline CreateProductRequest& WithSupportDescription(Aws::String&& value) { SetSupportDescription(std::move(value)); return *this;}
/**
* <p>The support information about the product.</p>
*/
inline CreateProductRequest& WithSupportDescription(const char* value) { SetSupportDescription(value); return *this;}
/**
* <p>The contact email for product support.</p>
*/
inline const Aws::String& GetSupportEmail() const{ return m_supportEmail; }
/**
* <p>The contact email for product support.</p>
*/
inline bool SupportEmailHasBeenSet() const { return m_supportEmailHasBeenSet; }
/**
* <p>The contact email for product support.</p>
*/
inline void SetSupportEmail(const Aws::String& value) { m_supportEmailHasBeenSet = true; m_supportEmail = value; }
/**
* <p>The contact email for product support.</p>
*/
inline void SetSupportEmail(Aws::String&& value) { m_supportEmailHasBeenSet = true; m_supportEmail = std::move(value); }
/**
* <p>The contact email for product support.</p>
*/
inline void SetSupportEmail(const char* value) { m_supportEmailHasBeenSet = true; m_supportEmail.assign(value); }
/**
* <p>The contact email for product support.</p>
*/
inline CreateProductRequest& WithSupportEmail(const Aws::String& value) { SetSupportEmail(value); return *this;}
/**
* <p>The contact email for product support.</p>
*/
inline CreateProductRequest& WithSupportEmail(Aws::String&& value) { SetSupportEmail(std::move(value)); return *this;}
/**
* <p>The contact email for product support.</p>
*/
inline CreateProductRequest& WithSupportEmail(const char* value) { SetSupportEmail(value); return *this;}
/**
* <p>The contact URL for product support.</p>
*/
inline const Aws::String& GetSupportUrl() const{ return m_supportUrl; }
/**
* <p>The contact URL for product support.</p>
*/
inline bool SupportUrlHasBeenSet() const { return m_supportUrlHasBeenSet; }
/**
* <p>The contact URL for product support.</p>
*/
inline void SetSupportUrl(const Aws::String& value) { m_supportUrlHasBeenSet = true; m_supportUrl = value; }
/**
* <p>The contact URL for product support.</p>
*/
inline void SetSupportUrl(Aws::String&& value) { m_supportUrlHasBeenSet = true; m_supportUrl = std::move(value); }
/**
* <p>The contact URL for product support.</p>
*/
inline void SetSupportUrl(const char* value) { m_supportUrlHasBeenSet = true; m_supportUrl.assign(value); }
/**
* <p>The contact URL for product support.</p>
*/
inline CreateProductRequest& WithSupportUrl(const Aws::String& value) { SetSupportUrl(value); return *this;}
/**
* <p>The contact URL for product support.</p>
*/
inline CreateProductRequest& WithSupportUrl(Aws::String&& value) { SetSupportUrl(std::move(value)); return *this;}
/**
* <p>The contact URL for product support.</p>
*/
inline CreateProductRequest& WithSupportUrl(const char* value) { SetSupportUrl(value); return *this;}
/**
* <p>The type of product.</p>
*/
inline const ProductType& GetProductType() const{ return m_productType; }
/**
* <p>The type of product.</p>
*/
inline bool ProductTypeHasBeenSet() const { return m_productTypeHasBeenSet; }
/**
* <p>The type of product.</p>
*/
inline void SetProductType(const ProductType& value) { m_productTypeHasBeenSet = true; m_productType = value; }
/**
* <p>The type of product.</p>
*/
inline void SetProductType(ProductType&& value) { m_productTypeHasBeenSet = true; m_productType = std::move(value); }
/**
* <p>The type of product.</p>
*/
inline CreateProductRequest& WithProductType(const ProductType& value) { SetProductType(value); return *this;}
/**
* <p>The type of product.</p>
*/
inline CreateProductRequest& WithProductType(ProductType&& value) { SetProductType(std::move(value)); return *this;}
/**
* <p>One or more tags.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>One or more tags.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>One or more tags.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>One or more tags.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>One or more tags.</p>
*/
inline CreateProductRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>One or more tags.</p>
*/
inline CreateProductRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>One or more tags.</p>
*/
inline CreateProductRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>One or more tags.</p>
*/
inline CreateProductRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
/**
* <p>The configuration of the provisioning artifact.</p>
*/
inline const ProvisioningArtifactProperties& GetProvisioningArtifactParameters() const{ return m_provisioningArtifactParameters; }
/**
* <p>The configuration of the provisioning artifact.</p>
*/
inline bool ProvisioningArtifactParametersHasBeenSet() const { return m_provisioningArtifactParametersHasBeenSet; }
/**
* <p>The configuration of the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactParameters(const ProvisioningArtifactProperties& value) { m_provisioningArtifactParametersHasBeenSet = true; m_provisioningArtifactParameters = value; }
/**
* <p>The configuration of the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactParameters(ProvisioningArtifactProperties&& value) { m_provisioningArtifactParametersHasBeenSet = true; m_provisioningArtifactParameters = std::move(value); }
/**
* <p>The configuration of the provisioning artifact.</p>
*/
inline CreateProductRequest& WithProvisioningArtifactParameters(const ProvisioningArtifactProperties& value) { SetProvisioningArtifactParameters(value); return *this;}
/**
* <p>The configuration of the provisioning artifact.</p>
*/
inline CreateProductRequest& WithProvisioningArtifactParameters(ProvisioningArtifactProperties&& value) { SetProvisioningArtifactParameters(std::move(value)); return *this;}
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline CreateProductRequest& WithIdempotencyToken(const Aws::String& value) { SetIdempotencyToken(value); return *this;}
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline CreateProductRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline CreateProductRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_owner;
bool m_ownerHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::String m_distributor;
bool m_distributorHasBeenSet;
Aws::String m_supportDescription;
bool m_supportDescriptionHasBeenSet;
Aws::String m_supportEmail;
bool m_supportEmailHasBeenSet;
Aws::String m_supportUrl;
bool m_supportUrlHasBeenSet;
ProductType m_productType;
bool m_productTypeHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
ProvisioningArtifactProperties m_provisioningArtifactParameters;
bool m_provisioningArtifactParametersHasBeenSet;
Aws::String m_idempotencyToken;
bool m_idempotencyTokenHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,136 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/model/ProductViewDetail.h>
#include <aws/servicecatalog/model/ProvisioningArtifactDetail.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/servicecatalog/model/Tag.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API CreateProductResult
{
public:
CreateProductResult();
CreateProductResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateProductResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Information about the product view.</p>
*/
inline const ProductViewDetail& GetProductViewDetail() const{ return m_productViewDetail; }
/**
* <p>Information about the product view.</p>
*/
inline void SetProductViewDetail(const ProductViewDetail& value) { m_productViewDetail = value; }
/**
* <p>Information about the product view.</p>
*/
inline void SetProductViewDetail(ProductViewDetail&& value) { m_productViewDetail = std::move(value); }
/**
* <p>Information about the product view.</p>
*/
inline CreateProductResult& WithProductViewDetail(const ProductViewDetail& value) { SetProductViewDetail(value); return *this;}
/**
* <p>Information about the product view.</p>
*/
inline CreateProductResult& WithProductViewDetail(ProductViewDetail&& value) { SetProductViewDetail(std::move(value)); return *this;}
/**
* <p>Information about the provisioning artifact.</p>
*/
inline const ProvisioningArtifactDetail& GetProvisioningArtifactDetail() const{ return m_provisioningArtifactDetail; }
/**
* <p>Information about the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactDetail(const ProvisioningArtifactDetail& value) { m_provisioningArtifactDetail = value; }
/**
* <p>Information about the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactDetail(ProvisioningArtifactDetail&& value) { m_provisioningArtifactDetail = std::move(value); }
/**
* <p>Information about the provisioning artifact.</p>
*/
inline CreateProductResult& WithProvisioningArtifactDetail(const ProvisioningArtifactDetail& value) { SetProvisioningArtifactDetail(value); return *this;}
/**
* <p>Information about the provisioning artifact.</p>
*/
inline CreateProductResult& WithProvisioningArtifactDetail(ProvisioningArtifactDetail&& value) { SetProvisioningArtifactDetail(std::move(value)); return *this;}
/**
* <p>Information about the tags associated with the product.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>Information about the tags associated with the product.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
/**
* <p>Information about the tags associated with the product.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
/**
* <p>Information about the tags associated with the product.</p>
*/
inline CreateProductResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>Information about the tags associated with the product.</p>
*/
inline CreateProductResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>Information about the tags associated with the product.</p>
*/
inline CreateProductResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
/**
* <p>Information about the tags associated with the product.</p>
*/
inline CreateProductResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
private:
ProductViewDetail m_productViewDetail;
ProvisioningArtifactDetail m_provisioningArtifactDetail;
Aws::Vector<Tag> m_tags;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,622 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/servicecatalog/model/ProvisionedProductPlanType.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/servicecatalog/model/UpdateProvisioningParameter.h>
#include <aws/servicecatalog/model/Tag.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API CreateProvisionedProductPlanRequest : public ServiceCatalogRequest
{
public:
CreateProvisionedProductPlanRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateProvisionedProductPlan"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreateProvisionedProductPlanRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreateProvisionedProductPlanRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreateProvisionedProductPlanRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The name of the plan.</p>
*/
inline const Aws::String& GetPlanName() const{ return m_planName; }
/**
* <p>The name of the plan.</p>
*/
inline bool PlanNameHasBeenSet() const { return m_planNameHasBeenSet; }
/**
* <p>The name of the plan.</p>
*/
inline void SetPlanName(const Aws::String& value) { m_planNameHasBeenSet = true; m_planName = value; }
/**
* <p>The name of the plan.</p>
*/
inline void SetPlanName(Aws::String&& value) { m_planNameHasBeenSet = true; m_planName = std::move(value); }
/**
* <p>The name of the plan.</p>
*/
inline void SetPlanName(const char* value) { m_planNameHasBeenSet = true; m_planName.assign(value); }
/**
* <p>The name of the plan.</p>
*/
inline CreateProvisionedProductPlanRequest& WithPlanName(const Aws::String& value) { SetPlanName(value); return *this;}
/**
* <p>The name of the plan.</p>
*/
inline CreateProvisionedProductPlanRequest& WithPlanName(Aws::String&& value) { SetPlanName(std::move(value)); return *this;}
/**
* <p>The name of the plan.</p>
*/
inline CreateProvisionedProductPlanRequest& WithPlanName(const char* value) { SetPlanName(value); return *this;}
/**
* <p>The plan type.</p>
*/
inline const ProvisionedProductPlanType& GetPlanType() const{ return m_planType; }
/**
* <p>The plan type.</p>
*/
inline bool PlanTypeHasBeenSet() const { return m_planTypeHasBeenSet; }
/**
* <p>The plan type.</p>
*/
inline void SetPlanType(const ProvisionedProductPlanType& value) { m_planTypeHasBeenSet = true; m_planType = value; }
/**
* <p>The plan type.</p>
*/
inline void SetPlanType(ProvisionedProductPlanType&& value) { m_planTypeHasBeenSet = true; m_planType = std::move(value); }
/**
* <p>The plan type.</p>
*/
inline CreateProvisionedProductPlanRequest& WithPlanType(const ProvisionedProductPlanType& value) { SetPlanType(value); return *this;}
/**
* <p>The plan type.</p>
*/
inline CreateProvisionedProductPlanRequest& WithPlanType(ProvisionedProductPlanType&& value) { SetPlanType(std::move(value)); return *this;}
/**
* <p>Passed to CloudFormation. The SNS topic ARNs to which to publish
* stack-related events.</p>
*/
inline const Aws::Vector<Aws::String>& GetNotificationArns() const{ return m_notificationArns; }
/**
* <p>Passed to CloudFormation. The SNS topic ARNs to which to publish
* stack-related events.</p>
*/
inline bool NotificationArnsHasBeenSet() const { return m_notificationArnsHasBeenSet; }
/**
* <p>Passed to CloudFormation. The SNS topic ARNs to which to publish
* stack-related events.</p>
*/
inline void SetNotificationArns(const Aws::Vector<Aws::String>& value) { m_notificationArnsHasBeenSet = true; m_notificationArns = value; }
/**
* <p>Passed to CloudFormation. The SNS topic ARNs to which to publish
* stack-related events.</p>
*/
inline void SetNotificationArns(Aws::Vector<Aws::String>&& value) { m_notificationArnsHasBeenSet = true; m_notificationArns = std::move(value); }
/**
* <p>Passed to CloudFormation. The SNS topic ARNs to which to publish
* stack-related events.</p>
*/
inline CreateProvisionedProductPlanRequest& WithNotificationArns(const Aws::Vector<Aws::String>& value) { SetNotificationArns(value); return *this;}
/**
* <p>Passed to CloudFormation. The SNS topic ARNs to which to publish
* stack-related events.</p>
*/
inline CreateProvisionedProductPlanRequest& WithNotificationArns(Aws::Vector<Aws::String>&& value) { SetNotificationArns(std::move(value)); return *this;}
/**
* <p>Passed to CloudFormation. The SNS topic ARNs to which to publish
* stack-related events.</p>
*/
inline CreateProvisionedProductPlanRequest& AddNotificationArns(const Aws::String& value) { m_notificationArnsHasBeenSet = true; m_notificationArns.push_back(value); return *this; }
/**
* <p>Passed to CloudFormation. The SNS topic ARNs to which to publish
* stack-related events.</p>
*/
inline CreateProvisionedProductPlanRequest& AddNotificationArns(Aws::String&& value) { m_notificationArnsHasBeenSet = true; m_notificationArns.push_back(std::move(value)); return *this; }
/**
* <p>Passed to CloudFormation. The SNS topic ARNs to which to publish
* stack-related events.</p>
*/
inline CreateProvisionedProductPlanRequest& AddNotificationArns(const char* value) { m_notificationArnsHasBeenSet = true; m_notificationArns.push_back(value); return *this; }
/**
* <p>The path identifier of the product. This value is optional if the product has
* a default path, and required if the product has more than one path. To list the
* paths for a product, use <a>ListLaunchPaths</a>.</p>
*/
inline const Aws::String& GetPathId() const{ return m_pathId; }
/**
* <p>The path identifier of the product. This value is optional if the product has
* a default path, and required if the product has more than one path. To list the
* paths for a product, use <a>ListLaunchPaths</a>.</p>
*/
inline bool PathIdHasBeenSet() const { return m_pathIdHasBeenSet; }
/**
* <p>The path identifier of the product. This value is optional if the product has
* a default path, and required if the product has more than one path. To list the
* paths for a product, use <a>ListLaunchPaths</a>.</p>
*/
inline void SetPathId(const Aws::String& value) { m_pathIdHasBeenSet = true; m_pathId = value; }
/**
* <p>The path identifier of the product. This value is optional if the product has
* a default path, and required if the product has more than one path. To list the
* paths for a product, use <a>ListLaunchPaths</a>.</p>
*/
inline void SetPathId(Aws::String&& value) { m_pathIdHasBeenSet = true; m_pathId = std::move(value); }
/**
* <p>The path identifier of the product. This value is optional if the product has
* a default path, and required if the product has more than one path. To list the
* paths for a product, use <a>ListLaunchPaths</a>.</p>
*/
inline void SetPathId(const char* value) { m_pathIdHasBeenSet = true; m_pathId.assign(value); }
/**
* <p>The path identifier of the product. This value is optional if the product has
* a default path, and required if the product has more than one path. To list the
* paths for a product, use <a>ListLaunchPaths</a>.</p>
*/
inline CreateProvisionedProductPlanRequest& WithPathId(const Aws::String& value) { SetPathId(value); return *this;}
/**
* <p>The path identifier of the product. This value is optional if the product has
* a default path, and required if the product has more than one path. To list the
* paths for a product, use <a>ListLaunchPaths</a>.</p>
*/
inline CreateProvisionedProductPlanRequest& WithPathId(Aws::String&& value) { SetPathId(std::move(value)); return *this;}
/**
* <p>The path identifier of the product. This value is optional if the product has
* a default path, and required if the product has more than one path. To list the
* paths for a product, use <a>ListLaunchPaths</a>.</p>
*/
inline CreateProvisionedProductPlanRequest& WithPathId(const char* value) { SetPathId(value); return *this;}
/**
* <p>The product identifier.</p>
*/
inline const Aws::String& GetProductId() const{ return m_productId; }
/**
* <p>The product identifier.</p>
*/
inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
/**
* <p>The product identifier.</p>
*/
inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
/**
* <p>The product identifier.</p>
*/
inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
/**
* <p>The product identifier.</p>
*/
inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
/**
* <p>The product identifier.</p>
*/
inline CreateProvisionedProductPlanRequest& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
/**
* <p>The product identifier.</p>
*/
inline CreateProvisionedProductPlanRequest& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
/**
* <p>The product identifier.</p>
*/
inline CreateProvisionedProductPlanRequest& WithProductId(const char* value) { SetProductId(value); return *this;}
/**
* <p>A user-friendly name for the provisioned product. This value must be unique
* for the AWS account and cannot be updated after the product is provisioned.</p>
*/
inline const Aws::String& GetProvisionedProductName() const{ return m_provisionedProductName; }
/**
* <p>A user-friendly name for the provisioned product. This value must be unique
* for the AWS account and cannot be updated after the product is provisioned.</p>
*/
inline bool ProvisionedProductNameHasBeenSet() const { return m_provisionedProductNameHasBeenSet; }
/**
* <p>A user-friendly name for the provisioned product. This value must be unique
* for the AWS account and cannot be updated after the product is provisioned.</p>
*/
inline void SetProvisionedProductName(const Aws::String& value) { m_provisionedProductNameHasBeenSet = true; m_provisionedProductName = value; }
/**
* <p>A user-friendly name for the provisioned product. This value must be unique
* for the AWS account and cannot be updated after the product is provisioned.</p>
*/
inline void SetProvisionedProductName(Aws::String&& value) { m_provisionedProductNameHasBeenSet = true; m_provisionedProductName = std::move(value); }
/**
* <p>A user-friendly name for the provisioned product. This value must be unique
* for the AWS account and cannot be updated after the product is provisioned.</p>
*/
inline void SetProvisionedProductName(const char* value) { m_provisionedProductNameHasBeenSet = true; m_provisionedProductName.assign(value); }
/**
* <p>A user-friendly name for the provisioned product. This value must be unique
* for the AWS account and cannot be updated after the product is provisioned.</p>
*/
inline CreateProvisionedProductPlanRequest& WithProvisionedProductName(const Aws::String& value) { SetProvisionedProductName(value); return *this;}
/**
* <p>A user-friendly name for the provisioned product. This value must be unique
* for the AWS account and cannot be updated after the product is provisioned.</p>
*/
inline CreateProvisionedProductPlanRequest& WithProvisionedProductName(Aws::String&& value) { SetProvisionedProductName(std::move(value)); return *this;}
/**
* <p>A user-friendly name for the provisioned product. This value must be unique
* for the AWS account and cannot be updated after the product is provisioned.</p>
*/
inline CreateProvisionedProductPlanRequest& WithProvisionedProductName(const char* value) { SetProvisionedProductName(value); return *this;}
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline const Aws::String& GetProvisioningArtifactId() const{ return m_provisioningArtifactId; }
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline bool ProvisioningArtifactIdHasBeenSet() const { return m_provisioningArtifactIdHasBeenSet; }
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactId(const Aws::String& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = value; }
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactId(Aws::String&& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = std::move(value); }
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactId(const char* value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId.assign(value); }
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline CreateProvisionedProductPlanRequest& WithProvisioningArtifactId(const Aws::String& value) { SetProvisioningArtifactId(value); return *this;}
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline CreateProvisionedProductPlanRequest& WithProvisioningArtifactId(Aws::String&& value) { SetProvisioningArtifactId(std::move(value)); return *this;}
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline CreateProvisionedProductPlanRequest& WithProvisioningArtifactId(const char* value) { SetProvisioningArtifactId(value); return *this;}
/**
* <p>Parameters specified by the administrator that are required for provisioning
* the product.</p>
*/
inline const Aws::Vector<UpdateProvisioningParameter>& GetProvisioningParameters() const{ return m_provisioningParameters; }
/**
* <p>Parameters specified by the administrator that are required for provisioning
* the product.</p>
*/
inline bool ProvisioningParametersHasBeenSet() const { return m_provisioningParametersHasBeenSet; }
/**
* <p>Parameters specified by the administrator that are required for provisioning
* the product.</p>
*/
inline void SetProvisioningParameters(const Aws::Vector<UpdateProvisioningParameter>& value) { m_provisioningParametersHasBeenSet = true; m_provisioningParameters = value; }
/**
* <p>Parameters specified by the administrator that are required for provisioning
* the product.</p>
*/
inline void SetProvisioningParameters(Aws::Vector<UpdateProvisioningParameter>&& value) { m_provisioningParametersHasBeenSet = true; m_provisioningParameters = std::move(value); }
/**
* <p>Parameters specified by the administrator that are required for provisioning
* the product.</p>
*/
inline CreateProvisionedProductPlanRequest& WithProvisioningParameters(const Aws::Vector<UpdateProvisioningParameter>& value) { SetProvisioningParameters(value); return *this;}
/**
* <p>Parameters specified by the administrator that are required for provisioning
* the product.</p>
*/
inline CreateProvisionedProductPlanRequest& WithProvisioningParameters(Aws::Vector<UpdateProvisioningParameter>&& value) { SetProvisioningParameters(std::move(value)); return *this;}
/**
* <p>Parameters specified by the administrator that are required for provisioning
* the product.</p>
*/
inline CreateProvisionedProductPlanRequest& AddProvisioningParameters(const UpdateProvisioningParameter& value) { m_provisioningParametersHasBeenSet = true; m_provisioningParameters.push_back(value); return *this; }
/**
* <p>Parameters specified by the administrator that are required for provisioning
* the product.</p>
*/
inline CreateProvisionedProductPlanRequest& AddProvisioningParameters(UpdateProvisioningParameter&& value) { m_provisioningParametersHasBeenSet = true; m_provisioningParameters.push_back(std::move(value)); return *this; }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline CreateProvisionedProductPlanRequest& WithIdempotencyToken(const Aws::String& value) { SetIdempotencyToken(value); return *this;}
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline CreateProvisionedProductPlanRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline CreateProvisionedProductPlanRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
/**
* <p>One or more tags.</p> <p>If the plan is for an existing provisioned product,
* the product must have a <code>RESOURCE_UPDATE</code> constraint with
* <code>TagUpdatesOnProvisionedProduct</code> set to <code>ALLOWED</code> to allow
* tag updates.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>One or more tags.</p> <p>If the plan is for an existing provisioned product,
* the product must have a <code>RESOURCE_UPDATE</code> constraint with
* <code>TagUpdatesOnProvisionedProduct</code> set to <code>ALLOWED</code> to allow
* tag updates.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>One or more tags.</p> <p>If the plan is for an existing provisioned product,
* the product must have a <code>RESOURCE_UPDATE</code> constraint with
* <code>TagUpdatesOnProvisionedProduct</code> set to <code>ALLOWED</code> to allow
* tag updates.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>One or more tags.</p> <p>If the plan is for an existing provisioned product,
* the product must have a <code>RESOURCE_UPDATE</code> constraint with
* <code>TagUpdatesOnProvisionedProduct</code> set to <code>ALLOWED</code> to allow
* tag updates.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>One or more tags.</p> <p>If the plan is for an existing provisioned product,
* the product must have a <code>RESOURCE_UPDATE</code> constraint with
* <code>TagUpdatesOnProvisionedProduct</code> set to <code>ALLOWED</code> to allow
* tag updates.</p>
*/
inline CreateProvisionedProductPlanRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>One or more tags.</p> <p>If the plan is for an existing provisioned product,
* the product must have a <code>RESOURCE_UPDATE</code> constraint with
* <code>TagUpdatesOnProvisionedProduct</code> set to <code>ALLOWED</code> to allow
* tag updates.</p>
*/
inline CreateProvisionedProductPlanRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>One or more tags.</p> <p>If the plan is for an existing provisioned product,
* the product must have a <code>RESOURCE_UPDATE</code> constraint with
* <code>TagUpdatesOnProvisionedProduct</code> set to <code>ALLOWED</code> to allow
* tag updates.</p>
*/
inline CreateProvisionedProductPlanRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>One or more tags.</p> <p>If the plan is for an existing provisioned product,
* the product must have a <code>RESOURCE_UPDATE</code> constraint with
* <code>TagUpdatesOnProvisionedProduct</code> set to <code>ALLOWED</code> to allow
* tag updates.</p>
*/
inline CreateProvisionedProductPlanRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_planName;
bool m_planNameHasBeenSet;
ProvisionedProductPlanType m_planType;
bool m_planTypeHasBeenSet;
Aws::Vector<Aws::String> m_notificationArns;
bool m_notificationArnsHasBeenSet;
Aws::String m_pathId;
bool m_pathIdHasBeenSet;
Aws::String m_productId;
bool m_productIdHasBeenSet;
Aws::String m_provisionedProductName;
bool m_provisionedProductNameHasBeenSet;
Aws::String m_provisioningArtifactId;
bool m_provisioningArtifactIdHasBeenSet;
Aws::Vector<UpdateProvisioningParameter> m_provisioningParameters;
bool m_provisioningParametersHasBeenSet;
Aws::String m_idempotencyToken;
bool m_idempotencyTokenHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,229 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API CreateProvisionedProductPlanResult
{
public:
CreateProvisionedProductPlanResult();
CreateProvisionedProductPlanResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateProvisionedProductPlanResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The name of the plan.</p>
*/
inline const Aws::String& GetPlanName() const{ return m_planName; }
/**
* <p>The name of the plan.</p>
*/
inline void SetPlanName(const Aws::String& value) { m_planName = value; }
/**
* <p>The name of the plan.</p>
*/
inline void SetPlanName(Aws::String&& value) { m_planName = std::move(value); }
/**
* <p>The name of the plan.</p>
*/
inline void SetPlanName(const char* value) { m_planName.assign(value); }
/**
* <p>The name of the plan.</p>
*/
inline CreateProvisionedProductPlanResult& WithPlanName(const Aws::String& value) { SetPlanName(value); return *this;}
/**
* <p>The name of the plan.</p>
*/
inline CreateProvisionedProductPlanResult& WithPlanName(Aws::String&& value) { SetPlanName(std::move(value)); return *this;}
/**
* <p>The name of the plan.</p>
*/
inline CreateProvisionedProductPlanResult& WithPlanName(const char* value) { SetPlanName(value); return *this;}
/**
* <p>The plan identifier.</p>
*/
inline const Aws::String& GetPlanId() const{ return m_planId; }
/**
* <p>The plan identifier.</p>
*/
inline void SetPlanId(const Aws::String& value) { m_planId = value; }
/**
* <p>The plan identifier.</p>
*/
inline void SetPlanId(Aws::String&& value) { m_planId = std::move(value); }
/**
* <p>The plan identifier.</p>
*/
inline void SetPlanId(const char* value) { m_planId.assign(value); }
/**
* <p>The plan identifier.</p>
*/
inline CreateProvisionedProductPlanResult& WithPlanId(const Aws::String& value) { SetPlanId(value); return *this;}
/**
* <p>The plan identifier.</p>
*/
inline CreateProvisionedProductPlanResult& WithPlanId(Aws::String&& value) { SetPlanId(std::move(value)); return *this;}
/**
* <p>The plan identifier.</p>
*/
inline CreateProvisionedProductPlanResult& WithPlanId(const char* value) { SetPlanId(value); return *this;}
/**
* <p>The product identifier.</p>
*/
inline const Aws::String& GetProvisionProductId() const{ return m_provisionProductId; }
/**
* <p>The product identifier.</p>
*/
inline void SetProvisionProductId(const Aws::String& value) { m_provisionProductId = value; }
/**
* <p>The product identifier.</p>
*/
inline void SetProvisionProductId(Aws::String&& value) { m_provisionProductId = std::move(value); }
/**
* <p>The product identifier.</p>
*/
inline void SetProvisionProductId(const char* value) { m_provisionProductId.assign(value); }
/**
* <p>The product identifier.</p>
*/
inline CreateProvisionedProductPlanResult& WithProvisionProductId(const Aws::String& value) { SetProvisionProductId(value); return *this;}
/**
* <p>The product identifier.</p>
*/
inline CreateProvisionedProductPlanResult& WithProvisionProductId(Aws::String&& value) { SetProvisionProductId(std::move(value)); return *this;}
/**
* <p>The product identifier.</p>
*/
inline CreateProvisionedProductPlanResult& WithProvisionProductId(const char* value) { SetProvisionProductId(value); return *this;}
/**
* <p>The user-friendly name of the provisioned product.</p>
*/
inline const Aws::String& GetProvisionedProductName() const{ return m_provisionedProductName; }
/**
* <p>The user-friendly name of the provisioned product.</p>
*/
inline void SetProvisionedProductName(const Aws::String& value) { m_provisionedProductName = value; }
/**
* <p>The user-friendly name of the provisioned product.</p>
*/
inline void SetProvisionedProductName(Aws::String&& value) { m_provisionedProductName = std::move(value); }
/**
* <p>The user-friendly name of the provisioned product.</p>
*/
inline void SetProvisionedProductName(const char* value) { m_provisionedProductName.assign(value); }
/**
* <p>The user-friendly name of the provisioned product.</p>
*/
inline CreateProvisionedProductPlanResult& WithProvisionedProductName(const Aws::String& value) { SetProvisionedProductName(value); return *this;}
/**
* <p>The user-friendly name of the provisioned product.</p>
*/
inline CreateProvisionedProductPlanResult& WithProvisionedProductName(Aws::String&& value) { SetProvisionedProductName(std::move(value)); return *this;}
/**
* <p>The user-friendly name of the provisioned product.</p>
*/
inline CreateProvisionedProductPlanResult& WithProvisionedProductName(const char* value) { SetProvisionedProductName(value); return *this;}
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline const Aws::String& GetProvisioningArtifactId() const{ return m_provisioningArtifactId; }
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactId(const Aws::String& value) { m_provisioningArtifactId = value; }
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactId(Aws::String&& value) { m_provisioningArtifactId = std::move(value); }
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactId(const char* value) { m_provisioningArtifactId.assign(value); }
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline CreateProvisionedProductPlanResult& WithProvisioningArtifactId(const Aws::String& value) { SetProvisioningArtifactId(value); return *this;}
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline CreateProvisionedProductPlanResult& WithProvisioningArtifactId(Aws::String&& value) { SetProvisioningArtifactId(std::move(value)); return *this;}
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline CreateProvisionedProductPlanResult& WithProvisioningArtifactId(const char* value) { SetProvisioningArtifactId(value); return *this;}
private:
Aws::String m_planName;
Aws::String m_planId;
Aws::String m_provisionProductId;
Aws::String m_provisionedProductName;
Aws::String m_provisioningArtifactId;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,241 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/servicecatalog/model/ProvisioningArtifactProperties.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API CreateProvisioningArtifactRequest : public ServiceCatalogRequest
{
public:
CreateProvisioningArtifactRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateProvisioningArtifact"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreateProvisioningArtifactRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreateProvisioningArtifactRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreateProvisioningArtifactRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The product identifier.</p>
*/
inline const Aws::String& GetProductId() const{ return m_productId; }
/**
* <p>The product identifier.</p>
*/
inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
/**
* <p>The product identifier.</p>
*/
inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
/**
* <p>The product identifier.</p>
*/
inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
/**
* <p>The product identifier.</p>
*/
inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
/**
* <p>The product identifier.</p>
*/
inline CreateProvisioningArtifactRequest& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
/**
* <p>The product identifier.</p>
*/
inline CreateProvisioningArtifactRequest& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
/**
* <p>The product identifier.</p>
*/
inline CreateProvisioningArtifactRequest& WithProductId(const char* value) { SetProductId(value); return *this;}
/**
* <p>The configuration for the provisioning artifact.</p>
*/
inline const ProvisioningArtifactProperties& GetParameters() const{ return m_parameters; }
/**
* <p>The configuration for the provisioning artifact.</p>
*/
inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
/**
* <p>The configuration for the provisioning artifact.</p>
*/
inline void SetParameters(const ProvisioningArtifactProperties& value) { m_parametersHasBeenSet = true; m_parameters = value; }
/**
* <p>The configuration for the provisioning artifact.</p>
*/
inline void SetParameters(ProvisioningArtifactProperties&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
/**
* <p>The configuration for the provisioning artifact.</p>
*/
inline CreateProvisioningArtifactRequest& WithParameters(const ProvisioningArtifactProperties& value) { SetParameters(value); return *this;}
/**
* <p>The configuration for the provisioning artifact.</p>
*/
inline CreateProvisioningArtifactRequest& WithParameters(ProvisioningArtifactProperties&& value) { SetParameters(std::move(value)); return *this;}
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline CreateProvisioningArtifactRequest& WithIdempotencyToken(const Aws::String& value) { SetIdempotencyToken(value); return *this;}
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline CreateProvisioningArtifactRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline CreateProvisioningArtifactRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_productId;
bool m_productIdHasBeenSet;
ProvisioningArtifactProperties m_parameters;
bool m_parametersHasBeenSet;
Aws::String m_idempotencyToken;
bool m_idempotencyTokenHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,161 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/model/ProvisioningArtifactDetail.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/servicecatalog/model/Status.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API CreateProvisioningArtifactResult
{
public:
CreateProvisioningArtifactResult();
CreateProvisioningArtifactResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateProvisioningArtifactResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Information about the provisioning artifact.</p>
*/
inline const ProvisioningArtifactDetail& GetProvisioningArtifactDetail() const{ return m_provisioningArtifactDetail; }
/**
* <p>Information about the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactDetail(const ProvisioningArtifactDetail& value) { m_provisioningArtifactDetail = value; }
/**
* <p>Information about the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactDetail(ProvisioningArtifactDetail&& value) { m_provisioningArtifactDetail = std::move(value); }
/**
* <p>Information about the provisioning artifact.</p>
*/
inline CreateProvisioningArtifactResult& WithProvisioningArtifactDetail(const ProvisioningArtifactDetail& value) { SetProvisioningArtifactDetail(value); return *this;}
/**
* <p>Information about the provisioning artifact.</p>
*/
inline CreateProvisioningArtifactResult& WithProvisioningArtifactDetail(ProvisioningArtifactDetail&& value) { SetProvisioningArtifactDetail(std::move(value)); return *this;}
/**
* <p>The URL of the CloudFormation template in Amazon S3, in JSON format.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetInfo() const{ return m_info; }
/**
* <p>The URL of the CloudFormation template in Amazon S3, in JSON format.</p>
*/
inline void SetInfo(const Aws::Map<Aws::String, Aws::String>& value) { m_info = value; }
/**
* <p>The URL of the CloudFormation template in Amazon S3, in JSON format.</p>
*/
inline void SetInfo(Aws::Map<Aws::String, Aws::String>&& value) { m_info = std::move(value); }
/**
* <p>The URL of the CloudFormation template in Amazon S3, in JSON format.</p>
*/
inline CreateProvisioningArtifactResult& WithInfo(const Aws::Map<Aws::String, Aws::String>& value) { SetInfo(value); return *this;}
/**
* <p>The URL of the CloudFormation template in Amazon S3, in JSON format.</p>
*/
inline CreateProvisioningArtifactResult& WithInfo(Aws::Map<Aws::String, Aws::String>&& value) { SetInfo(std::move(value)); return *this;}
/**
* <p>The URL of the CloudFormation template in Amazon S3, in JSON format.</p>
*/
inline CreateProvisioningArtifactResult& AddInfo(const Aws::String& key, const Aws::String& value) { m_info.emplace(key, value); return *this; }
/**
* <p>The URL of the CloudFormation template in Amazon S3, in JSON format.</p>
*/
inline CreateProvisioningArtifactResult& AddInfo(Aws::String&& key, const Aws::String& value) { m_info.emplace(std::move(key), value); return *this; }
/**
* <p>The URL of the CloudFormation template in Amazon S3, in JSON format.</p>
*/
inline CreateProvisioningArtifactResult& AddInfo(const Aws::String& key, Aws::String&& value) { m_info.emplace(key, std::move(value)); return *this; }
/**
* <p>The URL of the CloudFormation template in Amazon S3, in JSON format.</p>
*/
inline CreateProvisioningArtifactResult& AddInfo(Aws::String&& key, Aws::String&& value) { m_info.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The URL of the CloudFormation template in Amazon S3, in JSON format.</p>
*/
inline CreateProvisioningArtifactResult& AddInfo(const char* key, Aws::String&& value) { m_info.emplace(key, std::move(value)); return *this; }
/**
* <p>The URL of the CloudFormation template in Amazon S3, in JSON format.</p>
*/
inline CreateProvisioningArtifactResult& AddInfo(Aws::String&& key, const char* value) { m_info.emplace(std::move(key), value); return *this; }
/**
* <p>The URL of the CloudFormation template in Amazon S3, in JSON format.</p>
*/
inline CreateProvisioningArtifactResult& AddInfo(const char* key, const char* value) { m_info.emplace(key, value); return *this; }
/**
* <p>The status of the current request.</p>
*/
inline const Status& GetStatus() const{ return m_status; }
/**
* <p>The status of the current request.</p>
*/
inline void SetStatus(const Status& value) { m_status = value; }
/**
* <p>The status of the current request.</p>
*/
inline void SetStatus(Status&& value) { m_status = std::move(value); }
/**
* <p>The status of the current request.</p>
*/
inline CreateProvisioningArtifactResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
/**
* <p>The status of the current request.</p>
*/
inline CreateProvisioningArtifactResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
private:
ProvisioningArtifactDetail m_provisioningArtifactDetail;
Aws::Map<Aws::String, Aws::String> m_info;
Status m_status;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,525 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/servicecatalog/model/ServiceActionDefinitionType.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/servicecatalog/model/ServiceActionDefinitionKey.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API CreateServiceActionRequest : public ServiceCatalogRequest
{
public:
CreateServiceActionRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateServiceAction"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The self-service action name.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The self-service action name.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The self-service action name.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The self-service action name.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The self-service action name.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The self-service action name.</p>
*/
inline CreateServiceActionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The self-service action name.</p>
*/
inline CreateServiceActionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The self-service action name.</p>
*/
inline CreateServiceActionRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The service action definition type. For example,
* <code>SSM_AUTOMATION</code>.</p>
*/
inline const ServiceActionDefinitionType& GetDefinitionType() const{ return m_definitionType; }
/**
* <p>The service action definition type. For example,
* <code>SSM_AUTOMATION</code>.</p>
*/
inline bool DefinitionTypeHasBeenSet() const { return m_definitionTypeHasBeenSet; }
/**
* <p>The service action definition type. For example,
* <code>SSM_AUTOMATION</code>.</p>
*/
inline void SetDefinitionType(const ServiceActionDefinitionType& value) { m_definitionTypeHasBeenSet = true; m_definitionType = value; }
/**
* <p>The service action definition type. For example,
* <code>SSM_AUTOMATION</code>.</p>
*/
inline void SetDefinitionType(ServiceActionDefinitionType&& value) { m_definitionTypeHasBeenSet = true; m_definitionType = std::move(value); }
/**
* <p>The service action definition type. For example,
* <code>SSM_AUTOMATION</code>.</p>
*/
inline CreateServiceActionRequest& WithDefinitionType(const ServiceActionDefinitionType& value) { SetDefinitionType(value); return *this;}
/**
* <p>The service action definition type. For example,
* <code>SSM_AUTOMATION</code>.</p>
*/
inline CreateServiceActionRequest& WithDefinitionType(ServiceActionDefinitionType&& value) { SetDefinitionType(std::move(value)); return *this;}
/**
* <p>The self-service action definition. Can be one of the following:</p> <dl>
* <dt>Name</dt> <dd> <p>The name of the AWS Systems Manager document (SSM
* document). For example, <code>AWS-RestartEC2Instance</code>.</p> <p>If you are
* using a shared SSM document, you must provide the ARN instead of the name.</p>
* </dd> <dt>Version</dt> <dd> <p>The AWS Systems Manager automation document
* version. For example, <code>"Version": "1"</code> </p> </dd> <dt>AssumeRole</dt>
* <dd> <p>The Amazon Resource Name (ARN) of the role that performs the
* self-service actions on your behalf. For example, <code>"AssumeRole":
* "arn:aws:iam::12345678910:role/ActionRole"</code>.</p> <p>To reuse the
* provisioned product launch role, set to <code>"AssumeRole":
* "LAUNCH_ROLE"</code>.</p> </dd> <dt>Parameters</dt> <dd> <p>The list of
* parameters in JSON format.</p> <p>For example:
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]</code> or
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]</code>.</p> </dd>
* </dl>
*/
inline const Aws::Map<ServiceActionDefinitionKey, Aws::String>& GetDefinition() const{ return m_definition; }
/**
* <p>The self-service action definition. Can be one of the following:</p> <dl>
* <dt>Name</dt> <dd> <p>The name of the AWS Systems Manager document (SSM
* document). For example, <code>AWS-RestartEC2Instance</code>.</p> <p>If you are
* using a shared SSM document, you must provide the ARN instead of the name.</p>
* </dd> <dt>Version</dt> <dd> <p>The AWS Systems Manager automation document
* version. For example, <code>"Version": "1"</code> </p> </dd> <dt>AssumeRole</dt>
* <dd> <p>The Amazon Resource Name (ARN) of the role that performs the
* self-service actions on your behalf. For example, <code>"AssumeRole":
* "arn:aws:iam::12345678910:role/ActionRole"</code>.</p> <p>To reuse the
* provisioned product launch role, set to <code>"AssumeRole":
* "LAUNCH_ROLE"</code>.</p> </dd> <dt>Parameters</dt> <dd> <p>The list of
* parameters in JSON format.</p> <p>For example:
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]</code> or
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]</code>.</p> </dd>
* </dl>
*/
inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
/**
* <p>The self-service action definition. Can be one of the following:</p> <dl>
* <dt>Name</dt> <dd> <p>The name of the AWS Systems Manager document (SSM
* document). For example, <code>AWS-RestartEC2Instance</code>.</p> <p>If you are
* using a shared SSM document, you must provide the ARN instead of the name.</p>
* </dd> <dt>Version</dt> <dd> <p>The AWS Systems Manager automation document
* version. For example, <code>"Version": "1"</code> </p> </dd> <dt>AssumeRole</dt>
* <dd> <p>The Amazon Resource Name (ARN) of the role that performs the
* self-service actions on your behalf. For example, <code>"AssumeRole":
* "arn:aws:iam::12345678910:role/ActionRole"</code>.</p> <p>To reuse the
* provisioned product launch role, set to <code>"AssumeRole":
* "LAUNCH_ROLE"</code>.</p> </dd> <dt>Parameters</dt> <dd> <p>The list of
* parameters in JSON format.</p> <p>For example:
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]</code> or
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]</code>.</p> </dd>
* </dl>
*/
inline void SetDefinition(const Aws::Map<ServiceActionDefinitionKey, Aws::String>& value) { m_definitionHasBeenSet = true; m_definition = value; }
/**
* <p>The self-service action definition. Can be one of the following:</p> <dl>
* <dt>Name</dt> <dd> <p>The name of the AWS Systems Manager document (SSM
* document). For example, <code>AWS-RestartEC2Instance</code>.</p> <p>If you are
* using a shared SSM document, you must provide the ARN instead of the name.</p>
* </dd> <dt>Version</dt> <dd> <p>The AWS Systems Manager automation document
* version. For example, <code>"Version": "1"</code> </p> </dd> <dt>AssumeRole</dt>
* <dd> <p>The Amazon Resource Name (ARN) of the role that performs the
* self-service actions on your behalf. For example, <code>"AssumeRole":
* "arn:aws:iam::12345678910:role/ActionRole"</code>.</p> <p>To reuse the
* provisioned product launch role, set to <code>"AssumeRole":
* "LAUNCH_ROLE"</code>.</p> </dd> <dt>Parameters</dt> <dd> <p>The list of
* parameters in JSON format.</p> <p>For example:
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]</code> or
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]</code>.</p> </dd>
* </dl>
*/
inline void SetDefinition(Aws::Map<ServiceActionDefinitionKey, Aws::String>&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); }
/**
* <p>The self-service action definition. Can be one of the following:</p> <dl>
* <dt>Name</dt> <dd> <p>The name of the AWS Systems Manager document (SSM
* document). For example, <code>AWS-RestartEC2Instance</code>.</p> <p>If you are
* using a shared SSM document, you must provide the ARN instead of the name.</p>
* </dd> <dt>Version</dt> <dd> <p>The AWS Systems Manager automation document
* version. For example, <code>"Version": "1"</code> </p> </dd> <dt>AssumeRole</dt>
* <dd> <p>The Amazon Resource Name (ARN) of the role that performs the
* self-service actions on your behalf. For example, <code>"AssumeRole":
* "arn:aws:iam::12345678910:role/ActionRole"</code>.</p> <p>To reuse the
* provisioned product launch role, set to <code>"AssumeRole":
* "LAUNCH_ROLE"</code>.</p> </dd> <dt>Parameters</dt> <dd> <p>The list of
* parameters in JSON format.</p> <p>For example:
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]</code> or
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]</code>.</p> </dd>
* </dl>
*/
inline CreateServiceActionRequest& WithDefinition(const Aws::Map<ServiceActionDefinitionKey, Aws::String>& value) { SetDefinition(value); return *this;}
/**
* <p>The self-service action definition. Can be one of the following:</p> <dl>
* <dt>Name</dt> <dd> <p>The name of the AWS Systems Manager document (SSM
* document). For example, <code>AWS-RestartEC2Instance</code>.</p> <p>If you are
* using a shared SSM document, you must provide the ARN instead of the name.</p>
* </dd> <dt>Version</dt> <dd> <p>The AWS Systems Manager automation document
* version. For example, <code>"Version": "1"</code> </p> </dd> <dt>AssumeRole</dt>
* <dd> <p>The Amazon Resource Name (ARN) of the role that performs the
* self-service actions on your behalf. For example, <code>"AssumeRole":
* "arn:aws:iam::12345678910:role/ActionRole"</code>.</p> <p>To reuse the
* provisioned product launch role, set to <code>"AssumeRole":
* "LAUNCH_ROLE"</code>.</p> </dd> <dt>Parameters</dt> <dd> <p>The list of
* parameters in JSON format.</p> <p>For example:
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]</code> or
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]</code>.</p> </dd>
* </dl>
*/
inline CreateServiceActionRequest& WithDefinition(Aws::Map<ServiceActionDefinitionKey, Aws::String>&& value) { SetDefinition(std::move(value)); return *this;}
/**
* <p>The self-service action definition. Can be one of the following:</p> <dl>
* <dt>Name</dt> <dd> <p>The name of the AWS Systems Manager document (SSM
* document). For example, <code>AWS-RestartEC2Instance</code>.</p> <p>If you are
* using a shared SSM document, you must provide the ARN instead of the name.</p>
* </dd> <dt>Version</dt> <dd> <p>The AWS Systems Manager automation document
* version. For example, <code>"Version": "1"</code> </p> </dd> <dt>AssumeRole</dt>
* <dd> <p>The Amazon Resource Name (ARN) of the role that performs the
* self-service actions on your behalf. For example, <code>"AssumeRole":
* "arn:aws:iam::12345678910:role/ActionRole"</code>.</p> <p>To reuse the
* provisioned product launch role, set to <code>"AssumeRole":
* "LAUNCH_ROLE"</code>.</p> </dd> <dt>Parameters</dt> <dd> <p>The list of
* parameters in JSON format.</p> <p>For example:
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]</code> or
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]</code>.</p> </dd>
* </dl>
*/
inline CreateServiceActionRequest& AddDefinition(const ServiceActionDefinitionKey& key, const Aws::String& value) { m_definitionHasBeenSet = true; m_definition.emplace(key, value); return *this; }
/**
* <p>The self-service action definition. Can be one of the following:</p> <dl>
* <dt>Name</dt> <dd> <p>The name of the AWS Systems Manager document (SSM
* document). For example, <code>AWS-RestartEC2Instance</code>.</p> <p>If you are
* using a shared SSM document, you must provide the ARN instead of the name.</p>
* </dd> <dt>Version</dt> <dd> <p>The AWS Systems Manager automation document
* version. For example, <code>"Version": "1"</code> </p> </dd> <dt>AssumeRole</dt>
* <dd> <p>The Amazon Resource Name (ARN) of the role that performs the
* self-service actions on your behalf. For example, <code>"AssumeRole":
* "arn:aws:iam::12345678910:role/ActionRole"</code>.</p> <p>To reuse the
* provisioned product launch role, set to <code>"AssumeRole":
* "LAUNCH_ROLE"</code>.</p> </dd> <dt>Parameters</dt> <dd> <p>The list of
* parameters in JSON format.</p> <p>For example:
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]</code> or
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]</code>.</p> </dd>
* </dl>
*/
inline CreateServiceActionRequest& AddDefinition(ServiceActionDefinitionKey&& key, const Aws::String& value) { m_definitionHasBeenSet = true; m_definition.emplace(std::move(key), value); return *this; }
/**
* <p>The self-service action definition. Can be one of the following:</p> <dl>
* <dt>Name</dt> <dd> <p>The name of the AWS Systems Manager document (SSM
* document). For example, <code>AWS-RestartEC2Instance</code>.</p> <p>If you are
* using a shared SSM document, you must provide the ARN instead of the name.</p>
* </dd> <dt>Version</dt> <dd> <p>The AWS Systems Manager automation document
* version. For example, <code>"Version": "1"</code> </p> </dd> <dt>AssumeRole</dt>
* <dd> <p>The Amazon Resource Name (ARN) of the role that performs the
* self-service actions on your behalf. For example, <code>"AssumeRole":
* "arn:aws:iam::12345678910:role/ActionRole"</code>.</p> <p>To reuse the
* provisioned product launch role, set to <code>"AssumeRole":
* "LAUNCH_ROLE"</code>.</p> </dd> <dt>Parameters</dt> <dd> <p>The list of
* parameters in JSON format.</p> <p>For example:
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]</code> or
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]</code>.</p> </dd>
* </dl>
*/
inline CreateServiceActionRequest& AddDefinition(const ServiceActionDefinitionKey& key, Aws::String&& value) { m_definitionHasBeenSet = true; m_definition.emplace(key, std::move(value)); return *this; }
/**
* <p>The self-service action definition. Can be one of the following:</p> <dl>
* <dt>Name</dt> <dd> <p>The name of the AWS Systems Manager document (SSM
* document). For example, <code>AWS-RestartEC2Instance</code>.</p> <p>If you are
* using a shared SSM document, you must provide the ARN instead of the name.</p>
* </dd> <dt>Version</dt> <dd> <p>The AWS Systems Manager automation document
* version. For example, <code>"Version": "1"</code> </p> </dd> <dt>AssumeRole</dt>
* <dd> <p>The Amazon Resource Name (ARN) of the role that performs the
* self-service actions on your behalf. For example, <code>"AssumeRole":
* "arn:aws:iam::12345678910:role/ActionRole"</code>.</p> <p>To reuse the
* provisioned product launch role, set to <code>"AssumeRole":
* "LAUNCH_ROLE"</code>.</p> </dd> <dt>Parameters</dt> <dd> <p>The list of
* parameters in JSON format.</p> <p>For example:
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]</code> or
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]</code>.</p> </dd>
* </dl>
*/
inline CreateServiceActionRequest& AddDefinition(ServiceActionDefinitionKey&& key, Aws::String&& value) { m_definitionHasBeenSet = true; m_definition.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The self-service action definition. Can be one of the following:</p> <dl>
* <dt>Name</dt> <dd> <p>The name of the AWS Systems Manager document (SSM
* document). For example, <code>AWS-RestartEC2Instance</code>.</p> <p>If you are
* using a shared SSM document, you must provide the ARN instead of the name.</p>
* </dd> <dt>Version</dt> <dd> <p>The AWS Systems Manager automation document
* version. For example, <code>"Version": "1"</code> </p> </dd> <dt>AssumeRole</dt>
* <dd> <p>The Amazon Resource Name (ARN) of the role that performs the
* self-service actions on your behalf. For example, <code>"AssumeRole":
* "arn:aws:iam::12345678910:role/ActionRole"</code>.</p> <p>To reuse the
* provisioned product launch role, set to <code>"AssumeRole":
* "LAUNCH_ROLE"</code>.</p> </dd> <dt>Parameters</dt> <dd> <p>The list of
* parameters in JSON format.</p> <p>For example:
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]</code> or
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]</code>.</p> </dd>
* </dl>
*/
inline CreateServiceActionRequest& AddDefinition(ServiceActionDefinitionKey&& key, const char* value) { m_definitionHasBeenSet = true; m_definition.emplace(std::move(key), value); return *this; }
/**
* <p>The self-service action definition. Can be one of the following:</p> <dl>
* <dt>Name</dt> <dd> <p>The name of the AWS Systems Manager document (SSM
* document). For example, <code>AWS-RestartEC2Instance</code>.</p> <p>If you are
* using a shared SSM document, you must provide the ARN instead of the name.</p>
* </dd> <dt>Version</dt> <dd> <p>The AWS Systems Manager automation document
* version. For example, <code>"Version": "1"</code> </p> </dd> <dt>AssumeRole</dt>
* <dd> <p>The Amazon Resource Name (ARN) of the role that performs the
* self-service actions on your behalf. For example, <code>"AssumeRole":
* "arn:aws:iam::12345678910:role/ActionRole"</code>.</p> <p>To reuse the
* provisioned product launch role, set to <code>"AssumeRole":
* "LAUNCH_ROLE"</code>.</p> </dd> <dt>Parameters</dt> <dd> <p>The list of
* parameters in JSON format.</p> <p>For example:
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]</code> or
* <code>[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]</code>.</p> </dd>
* </dl>
*/
inline CreateServiceActionRequest& AddDefinition(const ServiceActionDefinitionKey& key, const char* value) { m_definitionHasBeenSet = true; m_definition.emplace(key, value); return *this; }
/**
* <p>The self-service action description.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>The self-service action description.</p>
*/
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
/**
* <p>The self-service action description.</p>
*/
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
/**
* <p>The self-service action description.</p>
*/
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
/**
* <p>The self-service action description.</p>
*/
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
/**
* <p>The self-service action description.</p>
*/
inline CreateServiceActionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>The self-service action description.</p>
*/
inline CreateServiceActionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>The self-service action description.</p>
*/
inline CreateServiceActionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreateServiceActionRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreateServiceActionRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline CreateServiceActionRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline CreateServiceActionRequest& WithIdempotencyToken(const Aws::String& value) { SetIdempotencyToken(value); return *this;}
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline CreateServiceActionRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
/**
* <p>A unique identifier that you provide to ensure idempotency. If multiple
* requests differ only by the idempotency token, the same response is returned for
* each repeated request.</p>
*/
inline CreateServiceActionRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
ServiceActionDefinitionType m_definitionType;
bool m_definitionTypeHasBeenSet;
Aws::Map<ServiceActionDefinitionKey, Aws::String> m_definition;
bool m_definitionHasBeenSet;
Aws::String m_description;
bool m_descriptionHasBeenSet;
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_idempotencyToken;
bool m_idempotencyTokenHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,67 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/model/ServiceActionDetail.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API CreateServiceActionResult
{
public:
CreateServiceActionResult();
CreateServiceActionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateServiceActionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>An object containing information about the self-service action.</p>
*/
inline const ServiceActionDetail& GetServiceActionDetail() const{ return m_serviceActionDetail; }
/**
* <p>An object containing information about the self-service action.</p>
*/
inline void SetServiceActionDetail(const ServiceActionDetail& value) { m_serviceActionDetail = value; }
/**
* <p>An object containing information about the self-service action.</p>
*/
inline void SetServiceActionDetail(ServiceActionDetail&& value) { m_serviceActionDetail = std::move(value); }
/**
* <p>An object containing information about the self-service action.</p>
*/
inline CreateServiceActionResult& WithServiceActionDetail(const ServiceActionDetail& value) { SetServiceActionDetail(value); return *this;}
/**
* <p>An object containing information about the self-service action.</p>
*/
inline CreateServiceActionResult& WithServiceActionDetail(ServiceActionDetail&& value) { SetServiceActionDetail(std::move(value)); return *this;}
private:
ServiceActionDetail m_serviceActionDetail;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,129 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API CreateTagOptionRequest : public ServiceCatalogRequest
{
public:
CreateTagOptionRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateTagOption"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The TagOption key.</p>
*/
inline const Aws::String& GetKey() const{ return m_key; }
/**
* <p>The TagOption key.</p>
*/
inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
/**
* <p>The TagOption key.</p>
*/
inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
/**
* <p>The TagOption key.</p>
*/
inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
/**
* <p>The TagOption key.</p>
*/
inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
/**
* <p>The TagOption key.</p>
*/
inline CreateTagOptionRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
/**
* <p>The TagOption key.</p>
*/
inline CreateTagOptionRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
/**
* <p>The TagOption key.</p>
*/
inline CreateTagOptionRequest& WithKey(const char* value) { SetKey(value); return *this;}
/**
* <p>The TagOption value.</p>
*/
inline const Aws::String& GetValue() const{ return m_value; }
/**
* <p>The TagOption value.</p>
*/
inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
/**
* <p>The TagOption value.</p>
*/
inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
/**
* <p>The TagOption value.</p>
*/
inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
/**
* <p>The TagOption value.</p>
*/
inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
/**
* <p>The TagOption value.</p>
*/
inline CreateTagOptionRequest& WithValue(const Aws::String& value) { SetValue(value); return *this;}
/**
* <p>The TagOption value.</p>
*/
inline CreateTagOptionRequest& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
/**
* <p>The TagOption value.</p>
*/
inline CreateTagOptionRequest& WithValue(const char* value) { SetValue(value); return *this;}
private:
Aws::String m_key;
bool m_keyHasBeenSet;
Aws::String m_value;
bool m_valueHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,67 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/model/TagOptionDetail.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API CreateTagOptionResult
{
public:
CreateTagOptionResult();
CreateTagOptionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateTagOptionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Information about the TagOption.</p>
*/
inline const TagOptionDetail& GetTagOptionDetail() const{ return m_tagOptionDetail; }
/**
* <p>Information about the TagOption.</p>
*/
inline void SetTagOptionDetail(const TagOptionDetail& value) { m_tagOptionDetail = value; }
/**
* <p>Information about the TagOption.</p>
*/
inline void SetTagOptionDetail(TagOptionDetail&& value) { m_tagOptionDetail = std::move(value); }
/**
* <p>Information about the TagOption.</p>
*/
inline CreateTagOptionResult& WithTagOptionDetail(const TagOptionDetail& value) { SetTagOptionDetail(value); return *this;}
/**
* <p>Information about the TagOption.</p>
*/
inline CreateTagOptionResult& WithTagOptionDetail(TagOptionDetail&& value) { SetTagOptionDetail(std::move(value)); return *this;}
private:
TagOptionDetail m_tagOptionDetail;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,145 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DeleteConstraintRequest : public ServiceCatalogRequest
{
public:
DeleteConstraintRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteConstraint"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeleteConstraintRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeleteConstraintRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeleteConstraintRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The identifier of the constraint.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The identifier of the constraint.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The identifier of the constraint.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The identifier of the constraint.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The identifier of the constraint.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The identifier of the constraint.</p>
*/
inline DeleteConstraintRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The identifier of the constraint.</p>
*/
inline DeleteConstraintRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The identifier of the constraint.</p>
*/
inline DeleteConstraintRequest& WithId(const char* value) { SetId(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_id;
bool m_idHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DeleteConstraintResult
{
public:
DeleteConstraintResult();
DeleteConstraintResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteConstraintResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,145 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DeletePortfolioRequest : public ServiceCatalogRequest
{
public:
DeletePortfolioRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeletePortfolio"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeletePortfolioRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeletePortfolioRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeletePortfolioRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The portfolio identifier.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The portfolio identifier.</p>
*/
inline DeletePortfolioRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline DeletePortfolioRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline DeletePortfolioRequest& WithId(const char* value) { SetId(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_id;
bool m_idHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DeletePortfolioResult
{
public:
DeletePortfolioResult();
DeletePortfolioResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeletePortfolioResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,224 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/servicecatalog/model/OrganizationNode.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DeletePortfolioShareRequest : public ServiceCatalogRequest
{
public:
DeletePortfolioShareRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeletePortfolioShare"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeletePortfolioShareRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeletePortfolioShareRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeletePortfolioShareRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline const Aws::String& GetPortfolioId() const{ return m_portfolioId; }
/**
* <p>The portfolio identifier.</p>
*/
inline bool PortfolioIdHasBeenSet() const { return m_portfolioIdHasBeenSet; }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(const Aws::String& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = value; }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(Aws::String&& value) { m_portfolioIdHasBeenSet = true; m_portfolioId = std::move(value); }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(const char* value) { m_portfolioIdHasBeenSet = true; m_portfolioId.assign(value); }
/**
* <p>The portfolio identifier.</p>
*/
inline DeletePortfolioShareRequest& WithPortfolioId(const Aws::String& value) { SetPortfolioId(value); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline DeletePortfolioShareRequest& WithPortfolioId(Aws::String&& value) { SetPortfolioId(std::move(value)); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline DeletePortfolioShareRequest& WithPortfolioId(const char* value) { SetPortfolioId(value); return *this;}
/**
* <p>The AWS account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The AWS account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The AWS account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The AWS account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The AWS account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The AWS account ID.</p>
*/
inline DeletePortfolioShareRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The AWS account ID.</p>
*/
inline DeletePortfolioShareRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The AWS account ID.</p>
*/
inline DeletePortfolioShareRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>The organization node to whom you are going to stop sharing.</p>
*/
inline const OrganizationNode& GetOrganizationNode() const{ return m_organizationNode; }
/**
* <p>The organization node to whom you are going to stop sharing.</p>
*/
inline bool OrganizationNodeHasBeenSet() const { return m_organizationNodeHasBeenSet; }
/**
* <p>The organization node to whom you are going to stop sharing.</p>
*/
inline void SetOrganizationNode(const OrganizationNode& value) { m_organizationNodeHasBeenSet = true; m_organizationNode = value; }
/**
* <p>The organization node to whom you are going to stop sharing.</p>
*/
inline void SetOrganizationNode(OrganizationNode&& value) { m_organizationNodeHasBeenSet = true; m_organizationNode = std::move(value); }
/**
* <p>The organization node to whom you are going to stop sharing.</p>
*/
inline DeletePortfolioShareRequest& WithOrganizationNode(const OrganizationNode& value) { SetOrganizationNode(value); return *this;}
/**
* <p>The organization node to whom you are going to stop sharing.</p>
*/
inline DeletePortfolioShareRequest& WithOrganizationNode(OrganizationNode&& value) { SetOrganizationNode(std::move(value)); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_portfolioId;
bool m_portfolioIdHasBeenSet;
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
OrganizationNode m_organizationNode;
bool m_organizationNodeHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,84 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DeletePortfolioShareResult
{
public:
DeletePortfolioShareResult();
DeletePortfolioShareResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeletePortfolioShareResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The portfolio share unique identifier. This will only be returned if delete
* is made to an organization node.</p>
*/
inline const Aws::String& GetPortfolioShareToken() const{ return m_portfolioShareToken; }
/**
* <p>The portfolio share unique identifier. This will only be returned if delete
* is made to an organization node.</p>
*/
inline void SetPortfolioShareToken(const Aws::String& value) { m_portfolioShareToken = value; }
/**
* <p>The portfolio share unique identifier. This will only be returned if delete
* is made to an organization node.</p>
*/
inline void SetPortfolioShareToken(Aws::String&& value) { m_portfolioShareToken = std::move(value); }
/**
* <p>The portfolio share unique identifier. This will only be returned if delete
* is made to an organization node.</p>
*/
inline void SetPortfolioShareToken(const char* value) { m_portfolioShareToken.assign(value); }
/**
* <p>The portfolio share unique identifier. This will only be returned if delete
* is made to an organization node.</p>
*/
inline DeletePortfolioShareResult& WithPortfolioShareToken(const Aws::String& value) { SetPortfolioShareToken(value); return *this;}
/**
* <p>The portfolio share unique identifier. This will only be returned if delete
* is made to an organization node.</p>
*/
inline DeletePortfolioShareResult& WithPortfolioShareToken(Aws::String&& value) { SetPortfolioShareToken(std::move(value)); return *this;}
/**
* <p>The portfolio share unique identifier. This will only be returned if delete
* is made to an organization node.</p>
*/
inline DeletePortfolioShareResult& WithPortfolioShareToken(const char* value) { SetPortfolioShareToken(value); return *this;}
private:
Aws::String m_portfolioShareToken;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,145 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DeleteProductRequest : public ServiceCatalogRequest
{
public:
DeleteProductRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteProduct"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeleteProductRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeleteProductRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeleteProductRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The product identifier.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The product identifier.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The product identifier.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The product identifier.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The product identifier.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The product identifier.</p>
*/
inline DeleteProductRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The product identifier.</p>
*/
inline DeleteProductRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The product identifier.</p>
*/
inline DeleteProductRequest& WithId(const char* value) { SetId(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_id;
bool m_idHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DeleteProductResult
{
public:
DeleteProductResult();
DeleteProductResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteProductResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,173 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DeleteProvisionedProductPlanRequest : public ServiceCatalogRequest
{
public:
DeleteProvisionedProductPlanRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteProvisionedProductPlan"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeleteProvisionedProductPlanRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeleteProvisionedProductPlanRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeleteProvisionedProductPlanRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The plan identifier.</p>
*/
inline const Aws::String& GetPlanId() const{ return m_planId; }
/**
* <p>The plan identifier.</p>
*/
inline bool PlanIdHasBeenSet() const { return m_planIdHasBeenSet; }
/**
* <p>The plan identifier.</p>
*/
inline void SetPlanId(const Aws::String& value) { m_planIdHasBeenSet = true; m_planId = value; }
/**
* <p>The plan identifier.</p>
*/
inline void SetPlanId(Aws::String&& value) { m_planIdHasBeenSet = true; m_planId = std::move(value); }
/**
* <p>The plan identifier.</p>
*/
inline void SetPlanId(const char* value) { m_planIdHasBeenSet = true; m_planId.assign(value); }
/**
* <p>The plan identifier.</p>
*/
inline DeleteProvisionedProductPlanRequest& WithPlanId(const Aws::String& value) { SetPlanId(value); return *this;}
/**
* <p>The plan identifier.</p>
*/
inline DeleteProvisionedProductPlanRequest& WithPlanId(Aws::String&& value) { SetPlanId(std::move(value)); return *this;}
/**
* <p>The plan identifier.</p>
*/
inline DeleteProvisionedProductPlanRequest& WithPlanId(const char* value) { SetPlanId(value); return *this;}
/**
* <p>If set to true, AWS Service Catalog stops managing the specified provisioned
* product even if it cannot delete the underlying resources.</p>
*/
inline bool GetIgnoreErrors() const{ return m_ignoreErrors; }
/**
* <p>If set to true, AWS Service Catalog stops managing the specified provisioned
* product even if it cannot delete the underlying resources.</p>
*/
inline bool IgnoreErrorsHasBeenSet() const { return m_ignoreErrorsHasBeenSet; }
/**
* <p>If set to true, AWS Service Catalog stops managing the specified provisioned
* product even if it cannot delete the underlying resources.</p>
*/
inline void SetIgnoreErrors(bool value) { m_ignoreErrorsHasBeenSet = true; m_ignoreErrors = value; }
/**
* <p>If set to true, AWS Service Catalog stops managing the specified provisioned
* product even if it cannot delete the underlying resources.</p>
*/
inline DeleteProvisionedProductPlanRequest& WithIgnoreErrors(bool value) { SetIgnoreErrors(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_planId;
bool m_planIdHasBeenSet;
bool m_ignoreErrors;
bool m_ignoreErrorsHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DeleteProvisionedProductPlanResult
{
public:
DeleteProvisionedProductPlanResult();
DeleteProvisionedProductPlanResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteProvisionedProductPlanResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,189 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DeleteProvisioningArtifactRequest : public ServiceCatalogRequest
{
public:
DeleteProvisioningArtifactRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteProvisioningArtifact"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeleteProvisioningArtifactRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeleteProvisioningArtifactRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeleteProvisioningArtifactRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The product identifier.</p>
*/
inline const Aws::String& GetProductId() const{ return m_productId; }
/**
* <p>The product identifier.</p>
*/
inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
/**
* <p>The product identifier.</p>
*/
inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
/**
* <p>The product identifier.</p>
*/
inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
/**
* <p>The product identifier.</p>
*/
inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
/**
* <p>The product identifier.</p>
*/
inline DeleteProvisioningArtifactRequest& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
/**
* <p>The product identifier.</p>
*/
inline DeleteProvisioningArtifactRequest& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
/**
* <p>The product identifier.</p>
*/
inline DeleteProvisioningArtifactRequest& WithProductId(const char* value) { SetProductId(value); return *this;}
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline const Aws::String& GetProvisioningArtifactId() const{ return m_provisioningArtifactId; }
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline bool ProvisioningArtifactIdHasBeenSet() const { return m_provisioningArtifactIdHasBeenSet; }
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactId(const Aws::String& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = value; }
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactId(Aws::String&& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = std::move(value); }
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactId(const char* value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId.assign(value); }
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline DeleteProvisioningArtifactRequest& WithProvisioningArtifactId(const Aws::String& value) { SetProvisioningArtifactId(value); return *this;}
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline DeleteProvisioningArtifactRequest& WithProvisioningArtifactId(Aws::String&& value) { SetProvisioningArtifactId(std::move(value)); return *this;}
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline DeleteProvisioningArtifactRequest& WithProvisioningArtifactId(const char* value) { SetProvisioningArtifactId(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_productId;
bool m_productIdHasBeenSet;
Aws::String m_provisioningArtifactId;
bool m_provisioningArtifactIdHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DeleteProvisioningArtifactResult
{
public:
DeleteProvisioningArtifactResult();
DeleteProvisioningArtifactResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteProvisioningArtifactResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,153 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DeleteServiceActionRequest : public ServiceCatalogRequest
{
public:
DeleteServiceActionRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteServiceAction"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The self-service action identifier. For example,
* <code>act-fs7abcd89wxyz</code>.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The self-service action identifier. For example,
* <code>act-fs7abcd89wxyz</code>.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The self-service action identifier. For example,
* <code>act-fs7abcd89wxyz</code>.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The self-service action identifier. For example,
* <code>act-fs7abcd89wxyz</code>.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The self-service action identifier. For example,
* <code>act-fs7abcd89wxyz</code>.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The self-service action identifier. For example,
* <code>act-fs7abcd89wxyz</code>.</p>
*/
inline DeleteServiceActionRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The self-service action identifier. For example,
* <code>act-fs7abcd89wxyz</code>.</p>
*/
inline DeleteServiceActionRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The self-service action identifier. For example,
* <code>act-fs7abcd89wxyz</code>.</p>
*/
inline DeleteServiceActionRequest& WithId(const char* value) { SetId(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeleteServiceActionRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeleteServiceActionRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DeleteServiceActionRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
private:
Aws::String m_id;
bool m_idHasBeenSet;
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DeleteServiceActionResult
{
public:
DeleteServiceActionResult();
DeleteServiceActionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteServiceActionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,85 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DeleteTagOptionRequest : public ServiceCatalogRequest
{
public:
DeleteTagOptionRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteTagOption"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The TagOption identifier.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The TagOption identifier.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The TagOption identifier.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The TagOption identifier.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The TagOption identifier.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The TagOption identifier.</p>
*/
inline DeleteTagOptionRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The TagOption identifier.</p>
*/
inline DeleteTagOptionRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The TagOption identifier.</p>
*/
inline DeleteTagOptionRequest& WithId(const char* value) { SetId(value); return *this;}
private:
Aws::String m_id;
bool m_idHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DeleteTagOptionResult
{
public:
DeleteTagOptionResult();
DeleteTagOptionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteTagOptionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,145 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DescribeConstraintRequest : public ServiceCatalogRequest
{
public:
DescribeConstraintRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DescribeConstraint"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeConstraintRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeConstraintRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeConstraintRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The identifier of the constraint.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The identifier of the constraint.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The identifier of the constraint.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The identifier of the constraint.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The identifier of the constraint.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The identifier of the constraint.</p>
*/
inline DescribeConstraintRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The identifier of the constraint.</p>
*/
inline DescribeConstraintRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The identifier of the constraint.</p>
*/
inline DescribeConstraintRequest& WithId(const char* value) { SetId(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_id;
bool m_idHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,135 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/model/ConstraintDetail.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/servicecatalog/model/Status.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DescribeConstraintResult
{
public:
DescribeConstraintResult();
DescribeConstraintResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeConstraintResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Information about the constraint.</p>
*/
inline const ConstraintDetail& GetConstraintDetail() const{ return m_constraintDetail; }
/**
* <p>Information about the constraint.</p>
*/
inline void SetConstraintDetail(const ConstraintDetail& value) { m_constraintDetail = value; }
/**
* <p>Information about the constraint.</p>
*/
inline void SetConstraintDetail(ConstraintDetail&& value) { m_constraintDetail = std::move(value); }
/**
* <p>Information about the constraint.</p>
*/
inline DescribeConstraintResult& WithConstraintDetail(const ConstraintDetail& value) { SetConstraintDetail(value); return *this;}
/**
* <p>Information about the constraint.</p>
*/
inline DescribeConstraintResult& WithConstraintDetail(ConstraintDetail&& value) { SetConstraintDetail(std::move(value)); return *this;}
/**
* <p>The constraint parameters.</p>
*/
inline const Aws::String& GetConstraintParameters() const{ return m_constraintParameters; }
/**
* <p>The constraint parameters.</p>
*/
inline void SetConstraintParameters(const Aws::String& value) { m_constraintParameters = value; }
/**
* <p>The constraint parameters.</p>
*/
inline void SetConstraintParameters(Aws::String&& value) { m_constraintParameters = std::move(value); }
/**
* <p>The constraint parameters.</p>
*/
inline void SetConstraintParameters(const char* value) { m_constraintParameters.assign(value); }
/**
* <p>The constraint parameters.</p>
*/
inline DescribeConstraintResult& WithConstraintParameters(const Aws::String& value) { SetConstraintParameters(value); return *this;}
/**
* <p>The constraint parameters.</p>
*/
inline DescribeConstraintResult& WithConstraintParameters(Aws::String&& value) { SetConstraintParameters(std::move(value)); return *this;}
/**
* <p>The constraint parameters.</p>
*/
inline DescribeConstraintResult& WithConstraintParameters(const char* value) { SetConstraintParameters(value); return *this;}
/**
* <p>The status of the current request.</p>
*/
inline const Status& GetStatus() const{ return m_status; }
/**
* <p>The status of the current request.</p>
*/
inline void SetStatus(const Status& value) { m_status = value; }
/**
* <p>The status of the current request.</p>
*/
inline void SetStatus(Status&& value) { m_status = std::move(value); }
/**
* <p>The status of the current request.</p>
*/
inline DescribeConstraintResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
/**
* <p>The status of the current request.</p>
*/
inline DescribeConstraintResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
private:
ConstraintDetail m_constraintDetail;
Aws::String m_constraintParameters;
Status m_status;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,153 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DescribeCopyProductStatusRequest : public ServiceCatalogRequest
{
public:
DescribeCopyProductStatusRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DescribeCopyProductStatus"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeCopyProductStatusRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeCopyProductStatusRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeCopyProductStatusRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The token for the copy product operation. This token is returned by
* <a>CopyProduct</a>.</p>
*/
inline const Aws::String& GetCopyProductToken() const{ return m_copyProductToken; }
/**
* <p>The token for the copy product operation. This token is returned by
* <a>CopyProduct</a>.</p>
*/
inline bool CopyProductTokenHasBeenSet() const { return m_copyProductTokenHasBeenSet; }
/**
* <p>The token for the copy product operation. This token is returned by
* <a>CopyProduct</a>.</p>
*/
inline void SetCopyProductToken(const Aws::String& value) { m_copyProductTokenHasBeenSet = true; m_copyProductToken = value; }
/**
* <p>The token for the copy product operation. This token is returned by
* <a>CopyProduct</a>.</p>
*/
inline void SetCopyProductToken(Aws::String&& value) { m_copyProductTokenHasBeenSet = true; m_copyProductToken = std::move(value); }
/**
* <p>The token for the copy product operation. This token is returned by
* <a>CopyProduct</a>.</p>
*/
inline void SetCopyProductToken(const char* value) { m_copyProductTokenHasBeenSet = true; m_copyProductToken.assign(value); }
/**
* <p>The token for the copy product operation. This token is returned by
* <a>CopyProduct</a>.</p>
*/
inline DescribeCopyProductStatusRequest& WithCopyProductToken(const Aws::String& value) { SetCopyProductToken(value); return *this;}
/**
* <p>The token for the copy product operation. This token is returned by
* <a>CopyProduct</a>.</p>
*/
inline DescribeCopyProductStatusRequest& WithCopyProductToken(Aws::String&& value) { SetCopyProductToken(std::move(value)); return *this;}
/**
* <p>The token for the copy product operation. This token is returned by
* <a>CopyProduct</a>.</p>
*/
inline DescribeCopyProductStatusRequest& WithCopyProductToken(const char* value) { SetCopyProductToken(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_copyProductToken;
bool m_copyProductTokenHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,144 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/model/CopyProductStatus.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DescribeCopyProductStatusResult
{
public:
DescribeCopyProductStatusResult();
DescribeCopyProductStatusResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeCopyProductStatusResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The status of the copy product operation.</p>
*/
inline const CopyProductStatus& GetCopyProductStatus() const{ return m_copyProductStatus; }
/**
* <p>The status of the copy product operation.</p>
*/
inline void SetCopyProductStatus(const CopyProductStatus& value) { m_copyProductStatus = value; }
/**
* <p>The status of the copy product operation.</p>
*/
inline void SetCopyProductStatus(CopyProductStatus&& value) { m_copyProductStatus = std::move(value); }
/**
* <p>The status of the copy product operation.</p>
*/
inline DescribeCopyProductStatusResult& WithCopyProductStatus(const CopyProductStatus& value) { SetCopyProductStatus(value); return *this;}
/**
* <p>The status of the copy product operation.</p>
*/
inline DescribeCopyProductStatusResult& WithCopyProductStatus(CopyProductStatus&& value) { SetCopyProductStatus(std::move(value)); return *this;}
/**
* <p>The identifier of the copied product.</p>
*/
inline const Aws::String& GetTargetProductId() const{ return m_targetProductId; }
/**
* <p>The identifier of the copied product.</p>
*/
inline void SetTargetProductId(const Aws::String& value) { m_targetProductId = value; }
/**
* <p>The identifier of the copied product.</p>
*/
inline void SetTargetProductId(Aws::String&& value) { m_targetProductId = std::move(value); }
/**
* <p>The identifier of the copied product.</p>
*/
inline void SetTargetProductId(const char* value) { m_targetProductId.assign(value); }
/**
* <p>The identifier of the copied product.</p>
*/
inline DescribeCopyProductStatusResult& WithTargetProductId(const Aws::String& value) { SetTargetProductId(value); return *this;}
/**
* <p>The identifier of the copied product.</p>
*/
inline DescribeCopyProductStatusResult& WithTargetProductId(Aws::String&& value) { SetTargetProductId(std::move(value)); return *this;}
/**
* <p>The identifier of the copied product.</p>
*/
inline DescribeCopyProductStatusResult& WithTargetProductId(const char* value) { SetTargetProductId(value); return *this;}
/**
* <p>The status message.</p>
*/
inline const Aws::String& GetStatusDetail() const{ return m_statusDetail; }
/**
* <p>The status message.</p>
*/
inline void SetStatusDetail(const Aws::String& value) { m_statusDetail = value; }
/**
* <p>The status message.</p>
*/
inline void SetStatusDetail(Aws::String&& value) { m_statusDetail = std::move(value); }
/**
* <p>The status message.</p>
*/
inline void SetStatusDetail(const char* value) { m_statusDetail.assign(value); }
/**
* <p>The status message.</p>
*/
inline DescribeCopyProductStatusResult& WithStatusDetail(const Aws::String& value) { SetStatusDetail(value); return *this;}
/**
* <p>The status message.</p>
*/
inline DescribeCopyProductStatusResult& WithStatusDetail(Aws::String&& value) { SetStatusDetail(std::move(value)); return *this;}
/**
* <p>The status message.</p>
*/
inline DescribeCopyProductStatusResult& WithStatusDetail(const char* value) { SetStatusDetail(value); return *this;}
private:
CopyProductStatus m_copyProductStatus;
Aws::String m_targetProductId;
Aws::String m_statusDetail;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,145 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DescribePortfolioRequest : public ServiceCatalogRequest
{
public:
DescribePortfolioRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DescribePortfolio"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribePortfolioRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribePortfolioRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribePortfolioRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The portfolio identifier.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The portfolio identifier.</p>
*/
inline DescribePortfolioRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline DescribePortfolioRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline DescribePortfolioRequest& WithId(const char* value) { SetId(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_id;
bool m_idHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,185 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/model/PortfolioDetail.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/servicecatalog/model/Tag.h>
#include <aws/servicecatalog/model/TagOptionDetail.h>
#include <aws/servicecatalog/model/BudgetDetail.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DescribePortfolioResult
{
public:
DescribePortfolioResult();
DescribePortfolioResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribePortfolioResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Information about the portfolio.</p>
*/
inline const PortfolioDetail& GetPortfolioDetail() const{ return m_portfolioDetail; }
/**
* <p>Information about the portfolio.</p>
*/
inline void SetPortfolioDetail(const PortfolioDetail& value) { m_portfolioDetail = value; }
/**
* <p>Information about the portfolio.</p>
*/
inline void SetPortfolioDetail(PortfolioDetail&& value) { m_portfolioDetail = std::move(value); }
/**
* <p>Information about the portfolio.</p>
*/
inline DescribePortfolioResult& WithPortfolioDetail(const PortfolioDetail& value) { SetPortfolioDetail(value); return *this;}
/**
* <p>Information about the portfolio.</p>
*/
inline DescribePortfolioResult& WithPortfolioDetail(PortfolioDetail&& value) { SetPortfolioDetail(std::move(value)); return *this;}
/**
* <p>Information about the tags associated with the portfolio.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>Information about the tags associated with the portfolio.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
/**
* <p>Information about the tags associated with the portfolio.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
/**
* <p>Information about the tags associated with the portfolio.</p>
*/
inline DescribePortfolioResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>Information about the tags associated with the portfolio.</p>
*/
inline DescribePortfolioResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>Information about the tags associated with the portfolio.</p>
*/
inline DescribePortfolioResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
/**
* <p>Information about the tags associated with the portfolio.</p>
*/
inline DescribePortfolioResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
/**
* <p>Information about the TagOptions associated with the portfolio.</p>
*/
inline const Aws::Vector<TagOptionDetail>& GetTagOptions() const{ return m_tagOptions; }
/**
* <p>Information about the TagOptions associated with the portfolio.</p>
*/
inline void SetTagOptions(const Aws::Vector<TagOptionDetail>& value) { m_tagOptions = value; }
/**
* <p>Information about the TagOptions associated with the portfolio.</p>
*/
inline void SetTagOptions(Aws::Vector<TagOptionDetail>&& value) { m_tagOptions = std::move(value); }
/**
* <p>Information about the TagOptions associated with the portfolio.</p>
*/
inline DescribePortfolioResult& WithTagOptions(const Aws::Vector<TagOptionDetail>& value) { SetTagOptions(value); return *this;}
/**
* <p>Information about the TagOptions associated with the portfolio.</p>
*/
inline DescribePortfolioResult& WithTagOptions(Aws::Vector<TagOptionDetail>&& value) { SetTagOptions(std::move(value)); return *this;}
/**
* <p>Information about the TagOptions associated with the portfolio.</p>
*/
inline DescribePortfolioResult& AddTagOptions(const TagOptionDetail& value) { m_tagOptions.push_back(value); return *this; }
/**
* <p>Information about the TagOptions associated with the portfolio.</p>
*/
inline DescribePortfolioResult& AddTagOptions(TagOptionDetail&& value) { m_tagOptions.push_back(std::move(value)); return *this; }
/**
* <p>Information about the associated budgets.</p>
*/
inline const Aws::Vector<BudgetDetail>& GetBudgets() const{ return m_budgets; }
/**
* <p>Information about the associated budgets.</p>
*/
inline void SetBudgets(const Aws::Vector<BudgetDetail>& value) { m_budgets = value; }
/**
* <p>Information about the associated budgets.</p>
*/
inline void SetBudgets(Aws::Vector<BudgetDetail>&& value) { m_budgets = std::move(value); }
/**
* <p>Information about the associated budgets.</p>
*/
inline DescribePortfolioResult& WithBudgets(const Aws::Vector<BudgetDetail>& value) { SetBudgets(value); return *this;}
/**
* <p>Information about the associated budgets.</p>
*/
inline DescribePortfolioResult& WithBudgets(Aws::Vector<BudgetDetail>&& value) { SetBudgets(std::move(value)); return *this;}
/**
* <p>Information about the associated budgets.</p>
*/
inline DescribePortfolioResult& AddBudgets(const BudgetDetail& value) { m_budgets.push_back(value); return *this; }
/**
* <p>Information about the associated budgets.</p>
*/
inline DescribePortfolioResult& AddBudgets(BudgetDetail&& value) { m_budgets.push_back(std::move(value)); return *this; }
private:
PortfolioDetail m_portfolioDetail;
Aws::Vector<Tag> m_tags;
Aws::Vector<TagOptionDetail> m_tagOptions;
Aws::Vector<BudgetDetail> m_budgets;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,93 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DescribePortfolioShareStatusRequest : public ServiceCatalogRequest
{
public:
DescribePortfolioShareStatusRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DescribePortfolioShareStatus"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The token for the portfolio share operation. This token is returned either by
* CreatePortfolioShare or by DeletePortfolioShare.</p>
*/
inline const Aws::String& GetPortfolioShareToken() const{ return m_portfolioShareToken; }
/**
* <p>The token for the portfolio share operation. This token is returned either by
* CreatePortfolioShare or by DeletePortfolioShare.</p>
*/
inline bool PortfolioShareTokenHasBeenSet() const { return m_portfolioShareTokenHasBeenSet; }
/**
* <p>The token for the portfolio share operation. This token is returned either by
* CreatePortfolioShare or by DeletePortfolioShare.</p>
*/
inline void SetPortfolioShareToken(const Aws::String& value) { m_portfolioShareTokenHasBeenSet = true; m_portfolioShareToken = value; }
/**
* <p>The token for the portfolio share operation. This token is returned either by
* CreatePortfolioShare or by DeletePortfolioShare.</p>
*/
inline void SetPortfolioShareToken(Aws::String&& value) { m_portfolioShareTokenHasBeenSet = true; m_portfolioShareToken = std::move(value); }
/**
* <p>The token for the portfolio share operation. This token is returned either by
* CreatePortfolioShare or by DeletePortfolioShare.</p>
*/
inline void SetPortfolioShareToken(const char* value) { m_portfolioShareTokenHasBeenSet = true; m_portfolioShareToken.assign(value); }
/**
* <p>The token for the portfolio share operation. This token is returned either by
* CreatePortfolioShare or by DeletePortfolioShare.</p>
*/
inline DescribePortfolioShareStatusRequest& WithPortfolioShareToken(const Aws::String& value) { SetPortfolioShareToken(value); return *this;}
/**
* <p>The token for the portfolio share operation. This token is returned either by
* CreatePortfolioShare or by DeletePortfolioShare.</p>
*/
inline DescribePortfolioShareStatusRequest& WithPortfolioShareToken(Aws::String&& value) { SetPortfolioShareToken(std::move(value)); return *this;}
/**
* <p>The token for the portfolio share operation. This token is returned either by
* CreatePortfolioShare or by DeletePortfolioShare.</p>
*/
inline DescribePortfolioShareStatusRequest& WithPortfolioShareToken(const char* value) { SetPortfolioShareToken(value); return *this;}
private:
Aws::String m_portfolioShareToken;
bool m_portfolioShareTokenHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,225 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/servicecatalog/model/ShareStatus.h>
#include <aws/servicecatalog/model/ShareDetails.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DescribePortfolioShareStatusResult
{
public:
DescribePortfolioShareStatusResult();
DescribePortfolioShareStatusResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribePortfolioShareStatusResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The token for the portfolio share operation. For example,
* <code>share-6v24abcdefghi</code>.</p>
*/
inline const Aws::String& GetPortfolioShareToken() const{ return m_portfolioShareToken; }
/**
* <p>The token for the portfolio share operation. For example,
* <code>share-6v24abcdefghi</code>.</p>
*/
inline void SetPortfolioShareToken(const Aws::String& value) { m_portfolioShareToken = value; }
/**
* <p>The token for the portfolio share operation. For example,
* <code>share-6v24abcdefghi</code>.</p>
*/
inline void SetPortfolioShareToken(Aws::String&& value) { m_portfolioShareToken = std::move(value); }
/**
* <p>The token for the portfolio share operation. For example,
* <code>share-6v24abcdefghi</code>.</p>
*/
inline void SetPortfolioShareToken(const char* value) { m_portfolioShareToken.assign(value); }
/**
* <p>The token for the portfolio share operation. For example,
* <code>share-6v24abcdefghi</code>.</p>
*/
inline DescribePortfolioShareStatusResult& WithPortfolioShareToken(const Aws::String& value) { SetPortfolioShareToken(value); return *this;}
/**
* <p>The token for the portfolio share operation. For example,
* <code>share-6v24abcdefghi</code>.</p>
*/
inline DescribePortfolioShareStatusResult& WithPortfolioShareToken(Aws::String&& value) { SetPortfolioShareToken(std::move(value)); return *this;}
/**
* <p>The token for the portfolio share operation. For example,
* <code>share-6v24abcdefghi</code>.</p>
*/
inline DescribePortfolioShareStatusResult& WithPortfolioShareToken(const char* value) { SetPortfolioShareToken(value); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline const Aws::String& GetPortfolioId() const{ return m_portfolioId; }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(const Aws::String& value) { m_portfolioId = value; }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(Aws::String&& value) { m_portfolioId = std::move(value); }
/**
* <p>The portfolio identifier.</p>
*/
inline void SetPortfolioId(const char* value) { m_portfolioId.assign(value); }
/**
* <p>The portfolio identifier.</p>
*/
inline DescribePortfolioShareStatusResult& WithPortfolioId(const Aws::String& value) { SetPortfolioId(value); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline DescribePortfolioShareStatusResult& WithPortfolioId(Aws::String&& value) { SetPortfolioId(std::move(value)); return *this;}
/**
* <p>The portfolio identifier.</p>
*/
inline DescribePortfolioShareStatusResult& WithPortfolioId(const char* value) { SetPortfolioId(value); return *this;}
/**
* <p>Organization node identifier. It can be either account id, organizational
* unit id or organization id.</p>
*/
inline const Aws::String& GetOrganizationNodeValue() const{ return m_organizationNodeValue; }
/**
* <p>Organization node identifier. It can be either account id, organizational
* unit id or organization id.</p>
*/
inline void SetOrganizationNodeValue(const Aws::String& value) { m_organizationNodeValue = value; }
/**
* <p>Organization node identifier. It can be either account id, organizational
* unit id or organization id.</p>
*/
inline void SetOrganizationNodeValue(Aws::String&& value) { m_organizationNodeValue = std::move(value); }
/**
* <p>Organization node identifier. It can be either account id, organizational
* unit id or organization id.</p>
*/
inline void SetOrganizationNodeValue(const char* value) { m_organizationNodeValue.assign(value); }
/**
* <p>Organization node identifier. It can be either account id, organizational
* unit id or organization id.</p>
*/
inline DescribePortfolioShareStatusResult& WithOrganizationNodeValue(const Aws::String& value) { SetOrganizationNodeValue(value); return *this;}
/**
* <p>Organization node identifier. It can be either account id, organizational
* unit id or organization id.</p>
*/
inline DescribePortfolioShareStatusResult& WithOrganizationNodeValue(Aws::String&& value) { SetOrganizationNodeValue(std::move(value)); return *this;}
/**
* <p>Organization node identifier. It can be either account id, organizational
* unit id or organization id.</p>
*/
inline DescribePortfolioShareStatusResult& WithOrganizationNodeValue(const char* value) { SetOrganizationNodeValue(value); return *this;}
/**
* <p>Status of the portfolio share operation.</p>
*/
inline const ShareStatus& GetStatus() const{ return m_status; }
/**
* <p>Status of the portfolio share operation.</p>
*/
inline void SetStatus(const ShareStatus& value) { m_status = value; }
/**
* <p>Status of the portfolio share operation.</p>
*/
inline void SetStatus(ShareStatus&& value) { m_status = std::move(value); }
/**
* <p>Status of the portfolio share operation.</p>
*/
inline DescribePortfolioShareStatusResult& WithStatus(const ShareStatus& value) { SetStatus(value); return *this;}
/**
* <p>Status of the portfolio share operation.</p>
*/
inline DescribePortfolioShareStatusResult& WithStatus(ShareStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>Information about the portfolio share operation.</p>
*/
inline const ShareDetails& GetShareDetails() const{ return m_shareDetails; }
/**
* <p>Information about the portfolio share operation.</p>
*/
inline void SetShareDetails(const ShareDetails& value) { m_shareDetails = value; }
/**
* <p>Information about the portfolio share operation.</p>
*/
inline void SetShareDetails(ShareDetails&& value) { m_shareDetails = std::move(value); }
/**
* <p>Information about the portfolio share operation.</p>
*/
inline DescribePortfolioShareStatusResult& WithShareDetails(const ShareDetails& value) { SetShareDetails(value); return *this;}
/**
* <p>Information about the portfolio share operation.</p>
*/
inline DescribePortfolioShareStatusResult& WithShareDetails(ShareDetails&& value) { SetShareDetails(std::move(value)); return *this;}
private:
Aws::String m_portfolioShareToken;
Aws::String m_portfolioId;
Aws::String m_organizationNodeValue;
ShareStatus m_status;
ShareDetails m_shareDetails;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,189 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DescribeProductAsAdminRequest : public ServiceCatalogRequest
{
public:
DescribeProductAsAdminRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DescribeProductAsAdmin"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProductAsAdminRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProductAsAdminRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProductAsAdminRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The product identifier.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The product identifier.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The product identifier.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The product identifier.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The product identifier.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The product identifier.</p>
*/
inline DescribeProductAsAdminRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The product identifier.</p>
*/
inline DescribeProductAsAdminRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The product identifier.</p>
*/
inline DescribeProductAsAdminRequest& WithId(const char* value) { SetId(value); return *this;}
/**
* <p>The product name.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The product name.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The product name.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The product name.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The product name.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The product name.</p>
*/
inline DescribeProductAsAdminRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The product name.</p>
*/
inline DescribeProductAsAdminRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The product name.</p>
*/
inline DescribeProductAsAdminRequest& WithName(const char* value) { SetName(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_id;
bool m_idHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,231 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/model/ProductViewDetail.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/servicecatalog/model/ProvisioningArtifactSummary.h>
#include <aws/servicecatalog/model/Tag.h>
#include <aws/servicecatalog/model/TagOptionDetail.h>
#include <aws/servicecatalog/model/BudgetDetail.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DescribeProductAsAdminResult
{
public:
DescribeProductAsAdminResult();
DescribeProductAsAdminResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeProductAsAdminResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Information about the product view.</p>
*/
inline const ProductViewDetail& GetProductViewDetail() const{ return m_productViewDetail; }
/**
* <p>Information about the product view.</p>
*/
inline void SetProductViewDetail(const ProductViewDetail& value) { m_productViewDetail = value; }
/**
* <p>Information about the product view.</p>
*/
inline void SetProductViewDetail(ProductViewDetail&& value) { m_productViewDetail = std::move(value); }
/**
* <p>Information about the product view.</p>
*/
inline DescribeProductAsAdminResult& WithProductViewDetail(const ProductViewDetail& value) { SetProductViewDetail(value); return *this;}
/**
* <p>Information about the product view.</p>
*/
inline DescribeProductAsAdminResult& WithProductViewDetail(ProductViewDetail&& value) { SetProductViewDetail(std::move(value)); return *this;}
/**
* <p>Information about the provisioning artifacts (also known as versions) for the
* specified product.</p>
*/
inline const Aws::Vector<ProvisioningArtifactSummary>& GetProvisioningArtifactSummaries() const{ return m_provisioningArtifactSummaries; }
/**
* <p>Information about the provisioning artifacts (also known as versions) for the
* specified product.</p>
*/
inline void SetProvisioningArtifactSummaries(const Aws::Vector<ProvisioningArtifactSummary>& value) { m_provisioningArtifactSummaries = value; }
/**
* <p>Information about the provisioning artifacts (also known as versions) for the
* specified product.</p>
*/
inline void SetProvisioningArtifactSummaries(Aws::Vector<ProvisioningArtifactSummary>&& value) { m_provisioningArtifactSummaries = std::move(value); }
/**
* <p>Information about the provisioning artifacts (also known as versions) for the
* specified product.</p>
*/
inline DescribeProductAsAdminResult& WithProvisioningArtifactSummaries(const Aws::Vector<ProvisioningArtifactSummary>& value) { SetProvisioningArtifactSummaries(value); return *this;}
/**
* <p>Information about the provisioning artifacts (also known as versions) for the
* specified product.</p>
*/
inline DescribeProductAsAdminResult& WithProvisioningArtifactSummaries(Aws::Vector<ProvisioningArtifactSummary>&& value) { SetProvisioningArtifactSummaries(std::move(value)); return *this;}
/**
* <p>Information about the provisioning artifacts (also known as versions) for the
* specified product.</p>
*/
inline DescribeProductAsAdminResult& AddProvisioningArtifactSummaries(const ProvisioningArtifactSummary& value) { m_provisioningArtifactSummaries.push_back(value); return *this; }
/**
* <p>Information about the provisioning artifacts (also known as versions) for the
* specified product.</p>
*/
inline DescribeProductAsAdminResult& AddProvisioningArtifactSummaries(ProvisioningArtifactSummary&& value) { m_provisioningArtifactSummaries.push_back(std::move(value)); return *this; }
/**
* <p>Information about the tags associated with the product.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>Information about the tags associated with the product.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
/**
* <p>Information about the tags associated with the product.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
/**
* <p>Information about the tags associated with the product.</p>
*/
inline DescribeProductAsAdminResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>Information about the tags associated with the product.</p>
*/
inline DescribeProductAsAdminResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>Information about the tags associated with the product.</p>
*/
inline DescribeProductAsAdminResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
/**
* <p>Information about the tags associated with the product.</p>
*/
inline DescribeProductAsAdminResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
/**
* <p>Information about the TagOptions associated with the product.</p>
*/
inline const Aws::Vector<TagOptionDetail>& GetTagOptions() const{ return m_tagOptions; }
/**
* <p>Information about the TagOptions associated with the product.</p>
*/
inline void SetTagOptions(const Aws::Vector<TagOptionDetail>& value) { m_tagOptions = value; }
/**
* <p>Information about the TagOptions associated with the product.</p>
*/
inline void SetTagOptions(Aws::Vector<TagOptionDetail>&& value) { m_tagOptions = std::move(value); }
/**
* <p>Information about the TagOptions associated with the product.</p>
*/
inline DescribeProductAsAdminResult& WithTagOptions(const Aws::Vector<TagOptionDetail>& value) { SetTagOptions(value); return *this;}
/**
* <p>Information about the TagOptions associated with the product.</p>
*/
inline DescribeProductAsAdminResult& WithTagOptions(Aws::Vector<TagOptionDetail>&& value) { SetTagOptions(std::move(value)); return *this;}
/**
* <p>Information about the TagOptions associated with the product.</p>
*/
inline DescribeProductAsAdminResult& AddTagOptions(const TagOptionDetail& value) { m_tagOptions.push_back(value); return *this; }
/**
* <p>Information about the TagOptions associated with the product.</p>
*/
inline DescribeProductAsAdminResult& AddTagOptions(TagOptionDetail&& value) { m_tagOptions.push_back(std::move(value)); return *this; }
/**
* <p>Information about the associated budgets.</p>
*/
inline const Aws::Vector<BudgetDetail>& GetBudgets() const{ return m_budgets; }
/**
* <p>Information about the associated budgets.</p>
*/
inline void SetBudgets(const Aws::Vector<BudgetDetail>& value) { m_budgets = value; }
/**
* <p>Information about the associated budgets.</p>
*/
inline void SetBudgets(Aws::Vector<BudgetDetail>&& value) { m_budgets = std::move(value); }
/**
* <p>Information about the associated budgets.</p>
*/
inline DescribeProductAsAdminResult& WithBudgets(const Aws::Vector<BudgetDetail>& value) { SetBudgets(value); return *this;}
/**
* <p>Information about the associated budgets.</p>
*/
inline DescribeProductAsAdminResult& WithBudgets(Aws::Vector<BudgetDetail>&& value) { SetBudgets(std::move(value)); return *this;}
/**
* <p>Information about the associated budgets.</p>
*/
inline DescribeProductAsAdminResult& AddBudgets(const BudgetDetail& value) { m_budgets.push_back(value); return *this; }
/**
* <p>Information about the associated budgets.</p>
*/
inline DescribeProductAsAdminResult& AddBudgets(BudgetDetail&& value) { m_budgets.push_back(std::move(value)); return *this; }
private:
ProductViewDetail m_productViewDetail;
Aws::Vector<ProvisioningArtifactSummary> m_provisioningArtifactSummaries;
Aws::Vector<Tag> m_tags;
Aws::Vector<TagOptionDetail> m_tagOptions;
Aws::Vector<BudgetDetail> m_budgets;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,189 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DescribeProductRequest : public ServiceCatalogRequest
{
public:
DescribeProductRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DescribeProduct"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProductRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProductRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProductRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The product identifier.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The product identifier.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The product identifier.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The product identifier.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The product identifier.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The product identifier.</p>
*/
inline DescribeProductRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The product identifier.</p>
*/
inline DescribeProductRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The product identifier.</p>
*/
inline DescribeProductRequest& WithId(const char* value) { SetId(value); return *this;}
/**
* <p>The product name.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The product name.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The product name.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The product name.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The product name.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The product name.</p>
*/
inline DescribeProductRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The product name.</p>
*/
inline DescribeProductRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The product name.</p>
*/
inline DescribeProductRequest& WithName(const char* value) { SetName(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_id;
bool m_idHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,185 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/model/ProductViewSummary.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/servicecatalog/model/ProvisioningArtifact.h>
#include <aws/servicecatalog/model/BudgetDetail.h>
#include <aws/servicecatalog/model/LaunchPath.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DescribeProductResult
{
public:
DescribeProductResult();
DescribeProductResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeProductResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Summary information about the product view.</p>
*/
inline const ProductViewSummary& GetProductViewSummary() const{ return m_productViewSummary; }
/**
* <p>Summary information about the product view.</p>
*/
inline void SetProductViewSummary(const ProductViewSummary& value) { m_productViewSummary = value; }
/**
* <p>Summary information about the product view.</p>
*/
inline void SetProductViewSummary(ProductViewSummary&& value) { m_productViewSummary = std::move(value); }
/**
* <p>Summary information about the product view.</p>
*/
inline DescribeProductResult& WithProductViewSummary(const ProductViewSummary& value) { SetProductViewSummary(value); return *this;}
/**
* <p>Summary information about the product view.</p>
*/
inline DescribeProductResult& WithProductViewSummary(ProductViewSummary&& value) { SetProductViewSummary(std::move(value)); return *this;}
/**
* <p>Information about the provisioning artifacts for the specified product.</p>
*/
inline const Aws::Vector<ProvisioningArtifact>& GetProvisioningArtifacts() const{ return m_provisioningArtifacts; }
/**
* <p>Information about the provisioning artifacts for the specified product.</p>
*/
inline void SetProvisioningArtifacts(const Aws::Vector<ProvisioningArtifact>& value) { m_provisioningArtifacts = value; }
/**
* <p>Information about the provisioning artifacts for the specified product.</p>
*/
inline void SetProvisioningArtifacts(Aws::Vector<ProvisioningArtifact>&& value) { m_provisioningArtifacts = std::move(value); }
/**
* <p>Information about the provisioning artifacts for the specified product.</p>
*/
inline DescribeProductResult& WithProvisioningArtifacts(const Aws::Vector<ProvisioningArtifact>& value) { SetProvisioningArtifacts(value); return *this;}
/**
* <p>Information about the provisioning artifacts for the specified product.</p>
*/
inline DescribeProductResult& WithProvisioningArtifacts(Aws::Vector<ProvisioningArtifact>&& value) { SetProvisioningArtifacts(std::move(value)); return *this;}
/**
* <p>Information about the provisioning artifacts for the specified product.</p>
*/
inline DescribeProductResult& AddProvisioningArtifacts(const ProvisioningArtifact& value) { m_provisioningArtifacts.push_back(value); return *this; }
/**
* <p>Information about the provisioning artifacts for the specified product.</p>
*/
inline DescribeProductResult& AddProvisioningArtifacts(ProvisioningArtifact&& value) { m_provisioningArtifacts.push_back(std::move(value)); return *this; }
/**
* <p>Information about the associated budgets.</p>
*/
inline const Aws::Vector<BudgetDetail>& GetBudgets() const{ return m_budgets; }
/**
* <p>Information about the associated budgets.</p>
*/
inline void SetBudgets(const Aws::Vector<BudgetDetail>& value) { m_budgets = value; }
/**
* <p>Information about the associated budgets.</p>
*/
inline void SetBudgets(Aws::Vector<BudgetDetail>&& value) { m_budgets = std::move(value); }
/**
* <p>Information about the associated budgets.</p>
*/
inline DescribeProductResult& WithBudgets(const Aws::Vector<BudgetDetail>& value) { SetBudgets(value); return *this;}
/**
* <p>Information about the associated budgets.</p>
*/
inline DescribeProductResult& WithBudgets(Aws::Vector<BudgetDetail>&& value) { SetBudgets(std::move(value)); return *this;}
/**
* <p>Information about the associated budgets.</p>
*/
inline DescribeProductResult& AddBudgets(const BudgetDetail& value) { m_budgets.push_back(value); return *this; }
/**
* <p>Information about the associated budgets.</p>
*/
inline DescribeProductResult& AddBudgets(BudgetDetail&& value) { m_budgets.push_back(std::move(value)); return *this; }
/**
* <p>Information about the associated launch paths.</p>
*/
inline const Aws::Vector<LaunchPath>& GetLaunchPaths() const{ return m_launchPaths; }
/**
* <p>Information about the associated launch paths.</p>
*/
inline void SetLaunchPaths(const Aws::Vector<LaunchPath>& value) { m_launchPaths = value; }
/**
* <p>Information about the associated launch paths.</p>
*/
inline void SetLaunchPaths(Aws::Vector<LaunchPath>&& value) { m_launchPaths = std::move(value); }
/**
* <p>Information about the associated launch paths.</p>
*/
inline DescribeProductResult& WithLaunchPaths(const Aws::Vector<LaunchPath>& value) { SetLaunchPaths(value); return *this;}
/**
* <p>Information about the associated launch paths.</p>
*/
inline DescribeProductResult& WithLaunchPaths(Aws::Vector<LaunchPath>&& value) { SetLaunchPaths(std::move(value)); return *this;}
/**
* <p>Information about the associated launch paths.</p>
*/
inline DescribeProductResult& AddLaunchPaths(const LaunchPath& value) { m_launchPaths.push_back(value); return *this; }
/**
* <p>Information about the associated launch paths.</p>
*/
inline DescribeProductResult& AddLaunchPaths(LaunchPath&& value) { m_launchPaths.push_back(std::move(value)); return *this; }
private:
ProductViewSummary m_productViewSummary;
Aws::Vector<ProvisioningArtifact> m_provisioningArtifacts;
Aws::Vector<BudgetDetail> m_budgets;
Aws::Vector<LaunchPath> m_launchPaths;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,145 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DescribeProductViewRequest : public ServiceCatalogRequest
{
public:
DescribeProductViewRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DescribeProductView"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProductViewRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProductViewRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProductViewRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The product view identifier.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The product view identifier.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The product view identifier.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The product view identifier.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The product view identifier.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The product view identifier.</p>
*/
inline DescribeProductViewRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The product view identifier.</p>
*/
inline DescribeProductViewRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The product view identifier.</p>
*/
inline DescribeProductViewRequest& WithId(const char* value) { SetId(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_id;
bool m_idHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,107 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/model/ProductViewSummary.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/servicecatalog/model/ProvisioningArtifact.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DescribeProductViewResult
{
public:
DescribeProductViewResult();
DescribeProductViewResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeProductViewResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Summary information about the product.</p>
*/
inline const ProductViewSummary& GetProductViewSummary() const{ return m_productViewSummary; }
/**
* <p>Summary information about the product.</p>
*/
inline void SetProductViewSummary(const ProductViewSummary& value) { m_productViewSummary = value; }
/**
* <p>Summary information about the product.</p>
*/
inline void SetProductViewSummary(ProductViewSummary&& value) { m_productViewSummary = std::move(value); }
/**
* <p>Summary information about the product.</p>
*/
inline DescribeProductViewResult& WithProductViewSummary(const ProductViewSummary& value) { SetProductViewSummary(value); return *this;}
/**
* <p>Summary information about the product.</p>
*/
inline DescribeProductViewResult& WithProductViewSummary(ProductViewSummary&& value) { SetProductViewSummary(std::move(value)); return *this;}
/**
* <p>Information about the provisioning artifacts for the product.</p>
*/
inline const Aws::Vector<ProvisioningArtifact>& GetProvisioningArtifacts() const{ return m_provisioningArtifacts; }
/**
* <p>Information about the provisioning artifacts for the product.</p>
*/
inline void SetProvisioningArtifacts(const Aws::Vector<ProvisioningArtifact>& value) { m_provisioningArtifacts = value; }
/**
* <p>Information about the provisioning artifacts for the product.</p>
*/
inline void SetProvisioningArtifacts(Aws::Vector<ProvisioningArtifact>&& value) { m_provisioningArtifacts = std::move(value); }
/**
* <p>Information about the provisioning artifacts for the product.</p>
*/
inline DescribeProductViewResult& WithProvisioningArtifacts(const Aws::Vector<ProvisioningArtifact>& value) { SetProvisioningArtifacts(value); return *this;}
/**
* <p>Information about the provisioning artifacts for the product.</p>
*/
inline DescribeProductViewResult& WithProvisioningArtifacts(Aws::Vector<ProvisioningArtifact>&& value) { SetProvisioningArtifacts(std::move(value)); return *this;}
/**
* <p>Information about the provisioning artifacts for the product.</p>
*/
inline DescribeProductViewResult& AddProvisioningArtifacts(const ProvisioningArtifact& value) { m_provisioningArtifacts.push_back(value); return *this; }
/**
* <p>Information about the provisioning artifacts for the product.</p>
*/
inline DescribeProductViewResult& AddProvisioningArtifacts(ProvisioningArtifact&& value) { m_provisioningArtifacts.push_back(std::move(value)); return *this; }
private:
ProductViewSummary m_productViewSummary;
Aws::Vector<ProvisioningArtifact> m_provisioningArtifacts;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,221 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DescribeProvisionedProductPlanRequest : public ServiceCatalogRequest
{
public:
DescribeProvisionedProductPlanRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DescribeProvisionedProductPlan"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProvisionedProductPlanRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProvisionedProductPlanRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProvisionedProductPlanRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The plan identifier.</p>
*/
inline const Aws::String& GetPlanId() const{ return m_planId; }
/**
* <p>The plan identifier.</p>
*/
inline bool PlanIdHasBeenSet() const { return m_planIdHasBeenSet; }
/**
* <p>The plan identifier.</p>
*/
inline void SetPlanId(const Aws::String& value) { m_planIdHasBeenSet = true; m_planId = value; }
/**
* <p>The plan identifier.</p>
*/
inline void SetPlanId(Aws::String&& value) { m_planIdHasBeenSet = true; m_planId = std::move(value); }
/**
* <p>The plan identifier.</p>
*/
inline void SetPlanId(const char* value) { m_planIdHasBeenSet = true; m_planId.assign(value); }
/**
* <p>The plan identifier.</p>
*/
inline DescribeProvisionedProductPlanRequest& WithPlanId(const Aws::String& value) { SetPlanId(value); return *this;}
/**
* <p>The plan identifier.</p>
*/
inline DescribeProvisionedProductPlanRequest& WithPlanId(Aws::String&& value) { SetPlanId(std::move(value)); return *this;}
/**
* <p>The plan identifier.</p>
*/
inline DescribeProvisionedProductPlanRequest& WithPlanId(const char* value) { SetPlanId(value); return *this;}
/**
* <p>The maximum number of items to return with this call.</p>
*/
inline int GetPageSize() const{ return m_pageSize; }
/**
* <p>The maximum number of items to return with this call.</p>
*/
inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
/**
* <p>The maximum number of items to return with this call.</p>
*/
inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
/**
* <p>The maximum number of items to return with this call.</p>
*/
inline DescribeProvisionedProductPlanRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
/**
* <p>The page token for the next set of results. To retrieve the first set of
* results, use null.</p>
*/
inline const Aws::String& GetPageToken() const{ return m_pageToken; }
/**
* <p>The page token for the next set of results. To retrieve the first set of
* results, use null.</p>
*/
inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
/**
* <p>The page token for the next set of results. To retrieve the first set of
* results, use null.</p>
*/
inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
/**
* <p>The page token for the next set of results. To retrieve the first set of
* results, use null.</p>
*/
inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
/**
* <p>The page token for the next set of results. To retrieve the first set of
* results, use null.</p>
*/
inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
/**
* <p>The page token for the next set of results. To retrieve the first set of
* results, use null.</p>
*/
inline DescribeProvisionedProductPlanRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
/**
* <p>The page token for the next set of results. To retrieve the first set of
* results, use null.</p>
*/
inline DescribeProvisionedProductPlanRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
/**
* <p>The page token for the next set of results. To retrieve the first set of
* results, use null.</p>
*/
inline DescribeProvisionedProductPlanRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_planId;
bool m_planIdHasBeenSet;
int m_pageSize;
bool m_pageSizeHasBeenSet;
Aws::String m_pageToken;
bool m_pageTokenHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,160 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/model/ProvisionedProductPlanDetails.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/servicecatalog/model/ResourceChange.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DescribeProvisionedProductPlanResult
{
public:
DescribeProvisionedProductPlanResult();
DescribeProvisionedProductPlanResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeProvisionedProductPlanResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Information about the plan.</p>
*/
inline const ProvisionedProductPlanDetails& GetProvisionedProductPlanDetails() const{ return m_provisionedProductPlanDetails; }
/**
* <p>Information about the plan.</p>
*/
inline void SetProvisionedProductPlanDetails(const ProvisionedProductPlanDetails& value) { m_provisionedProductPlanDetails = value; }
/**
* <p>Information about the plan.</p>
*/
inline void SetProvisionedProductPlanDetails(ProvisionedProductPlanDetails&& value) { m_provisionedProductPlanDetails = std::move(value); }
/**
* <p>Information about the plan.</p>
*/
inline DescribeProvisionedProductPlanResult& WithProvisionedProductPlanDetails(const ProvisionedProductPlanDetails& value) { SetProvisionedProductPlanDetails(value); return *this;}
/**
* <p>Information about the plan.</p>
*/
inline DescribeProvisionedProductPlanResult& WithProvisionedProductPlanDetails(ProvisionedProductPlanDetails&& value) { SetProvisionedProductPlanDetails(std::move(value)); return *this;}
/**
* <p>Information about the resource changes that will occur when the plan is
* executed.</p>
*/
inline const Aws::Vector<ResourceChange>& GetResourceChanges() const{ return m_resourceChanges; }
/**
* <p>Information about the resource changes that will occur when the plan is
* executed.</p>
*/
inline void SetResourceChanges(const Aws::Vector<ResourceChange>& value) { m_resourceChanges = value; }
/**
* <p>Information about the resource changes that will occur when the plan is
* executed.</p>
*/
inline void SetResourceChanges(Aws::Vector<ResourceChange>&& value) { m_resourceChanges = std::move(value); }
/**
* <p>Information about the resource changes that will occur when the plan is
* executed.</p>
*/
inline DescribeProvisionedProductPlanResult& WithResourceChanges(const Aws::Vector<ResourceChange>& value) { SetResourceChanges(value); return *this;}
/**
* <p>Information about the resource changes that will occur when the plan is
* executed.</p>
*/
inline DescribeProvisionedProductPlanResult& WithResourceChanges(Aws::Vector<ResourceChange>&& value) { SetResourceChanges(std::move(value)); return *this;}
/**
* <p>Information about the resource changes that will occur when the plan is
* executed.</p>
*/
inline DescribeProvisionedProductPlanResult& AddResourceChanges(const ResourceChange& value) { m_resourceChanges.push_back(value); return *this; }
/**
* <p>Information about the resource changes that will occur when the plan is
* executed.</p>
*/
inline DescribeProvisionedProductPlanResult& AddResourceChanges(ResourceChange&& value) { m_resourceChanges.push_back(std::move(value)); return *this; }
/**
* <p>The page token to use to retrieve the next set of results. If there are no
* additional results, this value is null.</p>
*/
inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
/**
* <p>The page token to use to retrieve the next set of results. If there are no
* additional results, this value is null.</p>
*/
inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; }
/**
* <p>The page token to use to retrieve the next set of results. If there are no
* additional results, this value is null.</p>
*/
inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = std::move(value); }
/**
* <p>The page token to use to retrieve the next set of results. If there are no
* additional results, this value is null.</p>
*/
inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); }
/**
* <p>The page token to use to retrieve the next set of results. If there are no
* additional results, this value is null.</p>
*/
inline DescribeProvisionedProductPlanResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
/**
* <p>The page token to use to retrieve the next set of results. If there are no
* additional results, this value is null.</p>
*/
inline DescribeProvisionedProductPlanResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
/**
* <p>The page token to use to retrieve the next set of results. If there are no
* additional results, this value is null.</p>
*/
inline DescribeProvisionedProductPlanResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
private:
ProvisionedProductPlanDetails m_provisionedProductPlanDetails;
Aws::Vector<ResourceChange> m_resourceChanges;
Aws::String m_nextPageToken;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,145 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DescribeProvisionedProductRequest : public ServiceCatalogRequest
{
public:
DescribeProvisionedProductRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DescribeProvisionedProduct"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProvisionedProductRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProvisionedProductRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProvisionedProductRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The provisioned product identifier.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The provisioned product identifier.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The provisioned product identifier.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The provisioned product identifier.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The provisioned product identifier.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The provisioned product identifier.</p>
*/
inline DescribeProvisionedProductRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The provisioned product identifier.</p>
*/
inline DescribeProvisionedProductRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The provisioned product identifier.</p>
*/
inline DescribeProvisionedProductRequest& WithId(const char* value) { SetId(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_id;
bool m_idHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,114 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/model/ProvisionedProductDetail.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/servicecatalog/model/CloudWatchDashboard.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DescribeProvisionedProductResult
{
public:
DescribeProvisionedProductResult();
DescribeProvisionedProductResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeProvisionedProductResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Information about the provisioned product.</p>
*/
inline const ProvisionedProductDetail& GetProvisionedProductDetail() const{ return m_provisionedProductDetail; }
/**
* <p>Information about the provisioned product.</p>
*/
inline void SetProvisionedProductDetail(const ProvisionedProductDetail& value) { m_provisionedProductDetail = value; }
/**
* <p>Information about the provisioned product.</p>
*/
inline void SetProvisionedProductDetail(ProvisionedProductDetail&& value) { m_provisionedProductDetail = std::move(value); }
/**
* <p>Information about the provisioned product.</p>
*/
inline DescribeProvisionedProductResult& WithProvisionedProductDetail(const ProvisionedProductDetail& value) { SetProvisionedProductDetail(value); return *this;}
/**
* <p>Information about the provisioned product.</p>
*/
inline DescribeProvisionedProductResult& WithProvisionedProductDetail(ProvisionedProductDetail&& value) { SetProvisionedProductDetail(std::move(value)); return *this;}
/**
* <p>Any CloudWatch dashboards that were created when provisioning the
* product.</p>
*/
inline const Aws::Vector<CloudWatchDashboard>& GetCloudWatchDashboards() const{ return m_cloudWatchDashboards; }
/**
* <p>Any CloudWatch dashboards that were created when provisioning the
* product.</p>
*/
inline void SetCloudWatchDashboards(const Aws::Vector<CloudWatchDashboard>& value) { m_cloudWatchDashboards = value; }
/**
* <p>Any CloudWatch dashboards that were created when provisioning the
* product.</p>
*/
inline void SetCloudWatchDashboards(Aws::Vector<CloudWatchDashboard>&& value) { m_cloudWatchDashboards = std::move(value); }
/**
* <p>Any CloudWatch dashboards that were created when provisioning the
* product.</p>
*/
inline DescribeProvisionedProductResult& WithCloudWatchDashboards(const Aws::Vector<CloudWatchDashboard>& value) { SetCloudWatchDashboards(value); return *this;}
/**
* <p>Any CloudWatch dashboards that were created when provisioning the
* product.</p>
*/
inline DescribeProvisionedProductResult& WithCloudWatchDashboards(Aws::Vector<CloudWatchDashboard>&& value) { SetCloudWatchDashboards(std::move(value)); return *this;}
/**
* <p>Any CloudWatch dashboards that were created when provisioning the
* product.</p>
*/
inline DescribeProvisionedProductResult& AddCloudWatchDashboards(const CloudWatchDashboard& value) { m_cloudWatchDashboards.push_back(value); return *this; }
/**
* <p>Any CloudWatch dashboards that were created when provisioning the
* product.</p>
*/
inline DescribeProvisionedProductResult& AddCloudWatchDashboards(CloudWatchDashboard&& value) { m_cloudWatchDashboards.push_back(std::move(value)); return *this; }
private:
ProvisionedProductDetail m_provisionedProductDetail;
Aws::Vector<CloudWatchDashboard> m_cloudWatchDashboards;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,301 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DescribeProvisioningArtifactRequest : public ServiceCatalogRequest
{
public:
DescribeProvisioningArtifactRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DescribeProvisioningArtifact"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProvisioningArtifactRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProvisioningArtifactRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProvisioningArtifactRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline const Aws::String& GetProvisioningArtifactId() const{ return m_provisioningArtifactId; }
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline bool ProvisioningArtifactIdHasBeenSet() const { return m_provisioningArtifactIdHasBeenSet; }
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactId(const Aws::String& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = value; }
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactId(Aws::String&& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = std::move(value); }
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactId(const char* value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId.assign(value); }
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline DescribeProvisioningArtifactRequest& WithProvisioningArtifactId(const Aws::String& value) { SetProvisioningArtifactId(value); return *this;}
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline DescribeProvisioningArtifactRequest& WithProvisioningArtifactId(Aws::String&& value) { SetProvisioningArtifactId(std::move(value)); return *this;}
/**
* <p>The identifier of the provisioning artifact.</p>
*/
inline DescribeProvisioningArtifactRequest& WithProvisioningArtifactId(const char* value) { SetProvisioningArtifactId(value); return *this;}
/**
* <p>The product identifier.</p>
*/
inline const Aws::String& GetProductId() const{ return m_productId; }
/**
* <p>The product identifier.</p>
*/
inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
/**
* <p>The product identifier.</p>
*/
inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
/**
* <p>The product identifier.</p>
*/
inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
/**
* <p>The product identifier.</p>
*/
inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
/**
* <p>The product identifier.</p>
*/
inline DescribeProvisioningArtifactRequest& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
/**
* <p>The product identifier.</p>
*/
inline DescribeProvisioningArtifactRequest& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
/**
* <p>The product identifier.</p>
*/
inline DescribeProvisioningArtifactRequest& WithProductId(const char* value) { SetProductId(value); return *this;}
/**
* <p>The provisioning artifact name.</p>
*/
inline const Aws::String& GetProvisioningArtifactName() const{ return m_provisioningArtifactName; }
/**
* <p>The provisioning artifact name.</p>
*/
inline bool ProvisioningArtifactNameHasBeenSet() const { return m_provisioningArtifactNameHasBeenSet; }
/**
* <p>The provisioning artifact name.</p>
*/
inline void SetProvisioningArtifactName(const Aws::String& value) { m_provisioningArtifactNameHasBeenSet = true; m_provisioningArtifactName = value; }
/**
* <p>The provisioning artifact name.</p>
*/
inline void SetProvisioningArtifactName(Aws::String&& value) { m_provisioningArtifactNameHasBeenSet = true; m_provisioningArtifactName = std::move(value); }
/**
* <p>The provisioning artifact name.</p>
*/
inline void SetProvisioningArtifactName(const char* value) { m_provisioningArtifactNameHasBeenSet = true; m_provisioningArtifactName.assign(value); }
/**
* <p>The provisioning artifact name.</p>
*/
inline DescribeProvisioningArtifactRequest& WithProvisioningArtifactName(const Aws::String& value) { SetProvisioningArtifactName(value); return *this;}
/**
* <p>The provisioning artifact name.</p>
*/
inline DescribeProvisioningArtifactRequest& WithProvisioningArtifactName(Aws::String&& value) { SetProvisioningArtifactName(std::move(value)); return *this;}
/**
* <p>The provisioning artifact name.</p>
*/
inline DescribeProvisioningArtifactRequest& WithProvisioningArtifactName(const char* value) { SetProvisioningArtifactName(value); return *this;}
/**
* <p>The product name.</p>
*/
inline const Aws::String& GetProductName() const{ return m_productName; }
/**
* <p>The product name.</p>
*/
inline bool ProductNameHasBeenSet() const { return m_productNameHasBeenSet; }
/**
* <p>The product name.</p>
*/
inline void SetProductName(const Aws::String& value) { m_productNameHasBeenSet = true; m_productName = value; }
/**
* <p>The product name.</p>
*/
inline void SetProductName(Aws::String&& value) { m_productNameHasBeenSet = true; m_productName = std::move(value); }
/**
* <p>The product name.</p>
*/
inline void SetProductName(const char* value) { m_productNameHasBeenSet = true; m_productName.assign(value); }
/**
* <p>The product name.</p>
*/
inline DescribeProvisioningArtifactRequest& WithProductName(const Aws::String& value) { SetProductName(value); return *this;}
/**
* <p>The product name.</p>
*/
inline DescribeProvisioningArtifactRequest& WithProductName(Aws::String&& value) { SetProductName(std::move(value)); return *this;}
/**
* <p>The product name.</p>
*/
inline DescribeProvisioningArtifactRequest& WithProductName(const char* value) { SetProductName(value); return *this;}
/**
* <p>Indicates whether a verbose level of detail is enabled.</p>
*/
inline bool GetVerbose() const{ return m_verbose; }
/**
* <p>Indicates whether a verbose level of detail is enabled.</p>
*/
inline bool VerboseHasBeenSet() const { return m_verboseHasBeenSet; }
/**
* <p>Indicates whether a verbose level of detail is enabled.</p>
*/
inline void SetVerbose(bool value) { m_verboseHasBeenSet = true; m_verbose = value; }
/**
* <p>Indicates whether a verbose level of detail is enabled.</p>
*/
inline DescribeProvisioningArtifactRequest& WithVerbose(bool value) { SetVerbose(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_provisioningArtifactId;
bool m_provisioningArtifactIdHasBeenSet;
Aws::String m_productId;
bool m_productIdHasBeenSet;
Aws::String m_provisioningArtifactName;
bool m_provisioningArtifactNameHasBeenSet;
Aws::String m_productName;
bool m_productNameHasBeenSet;
bool m_verbose;
bool m_verboseHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,161 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/model/ProvisioningArtifactDetail.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/servicecatalog/model/Status.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DescribeProvisioningArtifactResult
{
public:
DescribeProvisioningArtifactResult();
DescribeProvisioningArtifactResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeProvisioningArtifactResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Information about the provisioning artifact.</p>
*/
inline const ProvisioningArtifactDetail& GetProvisioningArtifactDetail() const{ return m_provisioningArtifactDetail; }
/**
* <p>Information about the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactDetail(const ProvisioningArtifactDetail& value) { m_provisioningArtifactDetail = value; }
/**
* <p>Information about the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactDetail(ProvisioningArtifactDetail&& value) { m_provisioningArtifactDetail = std::move(value); }
/**
* <p>Information about the provisioning artifact.</p>
*/
inline DescribeProvisioningArtifactResult& WithProvisioningArtifactDetail(const ProvisioningArtifactDetail& value) { SetProvisioningArtifactDetail(value); return *this;}
/**
* <p>Information about the provisioning artifact.</p>
*/
inline DescribeProvisioningArtifactResult& WithProvisioningArtifactDetail(ProvisioningArtifactDetail&& value) { SetProvisioningArtifactDetail(std::move(value)); return *this;}
/**
* <p>The URL of the CloudFormation template in Amazon S3.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetInfo() const{ return m_info; }
/**
* <p>The URL of the CloudFormation template in Amazon S3.</p>
*/
inline void SetInfo(const Aws::Map<Aws::String, Aws::String>& value) { m_info = value; }
/**
* <p>The URL of the CloudFormation template in Amazon S3.</p>
*/
inline void SetInfo(Aws::Map<Aws::String, Aws::String>&& value) { m_info = std::move(value); }
/**
* <p>The URL of the CloudFormation template in Amazon S3.</p>
*/
inline DescribeProvisioningArtifactResult& WithInfo(const Aws::Map<Aws::String, Aws::String>& value) { SetInfo(value); return *this;}
/**
* <p>The URL of the CloudFormation template in Amazon S3.</p>
*/
inline DescribeProvisioningArtifactResult& WithInfo(Aws::Map<Aws::String, Aws::String>&& value) { SetInfo(std::move(value)); return *this;}
/**
* <p>The URL of the CloudFormation template in Amazon S3.</p>
*/
inline DescribeProvisioningArtifactResult& AddInfo(const Aws::String& key, const Aws::String& value) { m_info.emplace(key, value); return *this; }
/**
* <p>The URL of the CloudFormation template in Amazon S3.</p>
*/
inline DescribeProvisioningArtifactResult& AddInfo(Aws::String&& key, const Aws::String& value) { m_info.emplace(std::move(key), value); return *this; }
/**
* <p>The URL of the CloudFormation template in Amazon S3.</p>
*/
inline DescribeProvisioningArtifactResult& AddInfo(const Aws::String& key, Aws::String&& value) { m_info.emplace(key, std::move(value)); return *this; }
/**
* <p>The URL of the CloudFormation template in Amazon S3.</p>
*/
inline DescribeProvisioningArtifactResult& AddInfo(Aws::String&& key, Aws::String&& value) { m_info.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The URL of the CloudFormation template in Amazon S3.</p>
*/
inline DescribeProvisioningArtifactResult& AddInfo(const char* key, Aws::String&& value) { m_info.emplace(key, std::move(value)); return *this; }
/**
* <p>The URL of the CloudFormation template in Amazon S3.</p>
*/
inline DescribeProvisioningArtifactResult& AddInfo(Aws::String&& key, const char* value) { m_info.emplace(std::move(key), value); return *this; }
/**
* <p>The URL of the CloudFormation template in Amazon S3.</p>
*/
inline DescribeProvisioningArtifactResult& AddInfo(const char* key, const char* value) { m_info.emplace(key, value); return *this; }
/**
* <p>The status of the current request.</p>
*/
inline const Status& GetStatus() const{ return m_status; }
/**
* <p>The status of the current request.</p>
*/
inline void SetStatus(const Status& value) { m_status = value; }
/**
* <p>The status of the current request.</p>
*/
inline void SetStatus(Status&& value) { m_status = std::move(value); }
/**
* <p>The status of the current request.</p>
*/
inline DescribeProvisioningArtifactResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
/**
* <p>The status of the current request.</p>
*/
inline DescribeProvisioningArtifactResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
private:
ProvisioningArtifactDetail m_provisioningArtifactDetail;
Aws::Map<Aws::String, Aws::String> m_info;
Status m_status;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,413 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DescribeProvisioningParametersRequest : public ServiceCatalogRequest
{
public:
DescribeProvisioningParametersRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DescribeProvisioningParameters"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProvisioningParametersRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProvisioningParametersRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeProvisioningParametersRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The product identifier. You must provide the product name or ID, but not
* both.</p>
*/
inline const Aws::String& GetProductId() const{ return m_productId; }
/**
* <p>The product identifier. You must provide the product name or ID, but not
* both.</p>
*/
inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
/**
* <p>The product identifier. You must provide the product name or ID, but not
* both.</p>
*/
inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
/**
* <p>The product identifier. You must provide the product name or ID, but not
* both.</p>
*/
inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
/**
* <p>The product identifier. You must provide the product name or ID, but not
* both.</p>
*/
inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
/**
* <p>The product identifier. You must provide the product name or ID, but not
* both.</p>
*/
inline DescribeProvisioningParametersRequest& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
/**
* <p>The product identifier. You must provide the product name or ID, but not
* both.</p>
*/
inline DescribeProvisioningParametersRequest& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
/**
* <p>The product identifier. You must provide the product name or ID, but not
* both.</p>
*/
inline DescribeProvisioningParametersRequest& WithProductId(const char* value) { SetProductId(value); return *this;}
/**
* <p>The name of the product. You must provide the name or ID, but not both.</p>
*/
inline const Aws::String& GetProductName() const{ return m_productName; }
/**
* <p>The name of the product. You must provide the name or ID, but not both.</p>
*/
inline bool ProductNameHasBeenSet() const { return m_productNameHasBeenSet; }
/**
* <p>The name of the product. You must provide the name or ID, but not both.</p>
*/
inline void SetProductName(const Aws::String& value) { m_productNameHasBeenSet = true; m_productName = value; }
/**
* <p>The name of the product. You must provide the name or ID, but not both.</p>
*/
inline void SetProductName(Aws::String&& value) { m_productNameHasBeenSet = true; m_productName = std::move(value); }
/**
* <p>The name of the product. You must provide the name or ID, but not both.</p>
*/
inline void SetProductName(const char* value) { m_productNameHasBeenSet = true; m_productName.assign(value); }
/**
* <p>The name of the product. You must provide the name or ID, but not both.</p>
*/
inline DescribeProvisioningParametersRequest& WithProductName(const Aws::String& value) { SetProductName(value); return *this;}
/**
* <p>The name of the product. You must provide the name or ID, but not both.</p>
*/
inline DescribeProvisioningParametersRequest& WithProductName(Aws::String&& value) { SetProductName(std::move(value)); return *this;}
/**
* <p>The name of the product. You must provide the name or ID, but not both.</p>
*/
inline DescribeProvisioningParametersRequest& WithProductName(const char* value) { SetProductName(value); return *this;}
/**
* <p>The identifier of the provisioning artifact. You must provide the name or ID,
* but not both.</p>
*/
inline const Aws::String& GetProvisioningArtifactId() const{ return m_provisioningArtifactId; }
/**
* <p>The identifier of the provisioning artifact. You must provide the name or ID,
* but not both.</p>
*/
inline bool ProvisioningArtifactIdHasBeenSet() const { return m_provisioningArtifactIdHasBeenSet; }
/**
* <p>The identifier of the provisioning artifact. You must provide the name or ID,
* but not both.</p>
*/
inline void SetProvisioningArtifactId(const Aws::String& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = value; }
/**
* <p>The identifier of the provisioning artifact. You must provide the name or ID,
* but not both.</p>
*/
inline void SetProvisioningArtifactId(Aws::String&& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = std::move(value); }
/**
* <p>The identifier of the provisioning artifact. You must provide the name or ID,
* but not both.</p>
*/
inline void SetProvisioningArtifactId(const char* value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId.assign(value); }
/**
* <p>The identifier of the provisioning artifact. You must provide the name or ID,
* but not both.</p>
*/
inline DescribeProvisioningParametersRequest& WithProvisioningArtifactId(const Aws::String& value) { SetProvisioningArtifactId(value); return *this;}
/**
* <p>The identifier of the provisioning artifact. You must provide the name or ID,
* but not both.</p>
*/
inline DescribeProvisioningParametersRequest& WithProvisioningArtifactId(Aws::String&& value) { SetProvisioningArtifactId(std::move(value)); return *this;}
/**
* <p>The identifier of the provisioning artifact. You must provide the name or ID,
* but not both.</p>
*/
inline DescribeProvisioningParametersRequest& WithProvisioningArtifactId(const char* value) { SetProvisioningArtifactId(value); return *this;}
/**
* <p>The name of the provisioning artifact. You must provide the name or ID, but
* not both.</p>
*/
inline const Aws::String& GetProvisioningArtifactName() const{ return m_provisioningArtifactName; }
/**
* <p>The name of the provisioning artifact. You must provide the name or ID, but
* not both.</p>
*/
inline bool ProvisioningArtifactNameHasBeenSet() const { return m_provisioningArtifactNameHasBeenSet; }
/**
* <p>The name of the provisioning artifact. You must provide the name or ID, but
* not both.</p>
*/
inline void SetProvisioningArtifactName(const Aws::String& value) { m_provisioningArtifactNameHasBeenSet = true; m_provisioningArtifactName = value; }
/**
* <p>The name of the provisioning artifact. You must provide the name or ID, but
* not both.</p>
*/
inline void SetProvisioningArtifactName(Aws::String&& value) { m_provisioningArtifactNameHasBeenSet = true; m_provisioningArtifactName = std::move(value); }
/**
* <p>The name of the provisioning artifact. You must provide the name or ID, but
* not both.</p>
*/
inline void SetProvisioningArtifactName(const char* value) { m_provisioningArtifactNameHasBeenSet = true; m_provisioningArtifactName.assign(value); }
/**
* <p>The name of the provisioning artifact. You must provide the name or ID, but
* not both.</p>
*/
inline DescribeProvisioningParametersRequest& WithProvisioningArtifactName(const Aws::String& value) { SetProvisioningArtifactName(value); return *this;}
/**
* <p>The name of the provisioning artifact. You must provide the name or ID, but
* not both.</p>
*/
inline DescribeProvisioningParametersRequest& WithProvisioningArtifactName(Aws::String&& value) { SetProvisioningArtifactName(std::move(value)); return *this;}
/**
* <p>The name of the provisioning artifact. You must provide the name or ID, but
* not both.</p>
*/
inline DescribeProvisioningParametersRequest& WithProvisioningArtifactName(const char* value) { SetProvisioningArtifactName(value); return *this;}
/**
* <p>The path identifier of the product. This value is optional if the product has
* a default path, and required if the product has more than one path. To list the
* paths for a product, use <a>ListLaunchPaths</a>. You must provide the name or
* ID, but not both.</p>
*/
inline const Aws::String& GetPathId() const{ return m_pathId; }
/**
* <p>The path identifier of the product. This value is optional if the product has
* a default path, and required if the product has more than one path. To list the
* paths for a product, use <a>ListLaunchPaths</a>. You must provide the name or
* ID, but not both.</p>
*/
inline bool PathIdHasBeenSet() const { return m_pathIdHasBeenSet; }
/**
* <p>The path identifier of the product. This value is optional if the product has
* a default path, and required if the product has more than one path. To list the
* paths for a product, use <a>ListLaunchPaths</a>. You must provide the name or
* ID, but not both.</p>
*/
inline void SetPathId(const Aws::String& value) { m_pathIdHasBeenSet = true; m_pathId = value; }
/**
* <p>The path identifier of the product. This value is optional if the product has
* a default path, and required if the product has more than one path. To list the
* paths for a product, use <a>ListLaunchPaths</a>. You must provide the name or
* ID, but not both.</p>
*/
inline void SetPathId(Aws::String&& value) { m_pathIdHasBeenSet = true; m_pathId = std::move(value); }
/**
* <p>The path identifier of the product. This value is optional if the product has
* a default path, and required if the product has more than one path. To list the
* paths for a product, use <a>ListLaunchPaths</a>. You must provide the name or
* ID, but not both.</p>
*/
inline void SetPathId(const char* value) { m_pathIdHasBeenSet = true; m_pathId.assign(value); }
/**
* <p>The path identifier of the product. This value is optional if the product has
* a default path, and required if the product has more than one path. To list the
* paths for a product, use <a>ListLaunchPaths</a>. You must provide the name or
* ID, but not both.</p>
*/
inline DescribeProvisioningParametersRequest& WithPathId(const Aws::String& value) { SetPathId(value); return *this;}
/**
* <p>The path identifier of the product. This value is optional if the product has
* a default path, and required if the product has more than one path. To list the
* paths for a product, use <a>ListLaunchPaths</a>. You must provide the name or
* ID, but not both.</p>
*/
inline DescribeProvisioningParametersRequest& WithPathId(Aws::String&& value) { SetPathId(std::move(value)); return *this;}
/**
* <p>The path identifier of the product. This value is optional if the product has
* a default path, and required if the product has more than one path. To list the
* paths for a product, use <a>ListLaunchPaths</a>. You must provide the name or
* ID, but not both.</p>
*/
inline DescribeProvisioningParametersRequest& WithPathId(const char* value) { SetPathId(value); return *this;}
/**
* <p>The name of the path. You must provide the name or ID, but not both.</p>
*/
inline const Aws::String& GetPathName() const{ return m_pathName; }
/**
* <p>The name of the path. You must provide the name or ID, but not both.</p>
*/
inline bool PathNameHasBeenSet() const { return m_pathNameHasBeenSet; }
/**
* <p>The name of the path. You must provide the name or ID, but not both.</p>
*/
inline void SetPathName(const Aws::String& value) { m_pathNameHasBeenSet = true; m_pathName = value; }
/**
* <p>The name of the path. You must provide the name or ID, but not both.</p>
*/
inline void SetPathName(Aws::String&& value) { m_pathNameHasBeenSet = true; m_pathName = std::move(value); }
/**
* <p>The name of the path. You must provide the name or ID, but not both.</p>
*/
inline void SetPathName(const char* value) { m_pathNameHasBeenSet = true; m_pathName.assign(value); }
/**
* <p>The name of the path. You must provide the name or ID, but not both.</p>
*/
inline DescribeProvisioningParametersRequest& WithPathName(const Aws::String& value) { SetPathName(value); return *this;}
/**
* <p>The name of the path. You must provide the name or ID, but not both.</p>
*/
inline DescribeProvisioningParametersRequest& WithPathName(Aws::String&& value) { SetPathName(std::move(value)); return *this;}
/**
* <p>The name of the path. You must provide the name or ID, but not both.</p>
*/
inline DescribeProvisioningParametersRequest& WithPathName(const char* value) { SetPathName(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_productId;
bool m_productIdHasBeenSet;
Aws::String m_productName;
bool m_productNameHasBeenSet;
Aws::String m_provisioningArtifactId;
bool m_provisioningArtifactIdHasBeenSet;
Aws::String m_provisioningArtifactName;
bool m_provisioningArtifactNameHasBeenSet;
Aws::String m_pathId;
bool m_pathIdHasBeenSet;
Aws::String m_pathName;
bool m_pathNameHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,282 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/servicecatalog/model/ProvisioningArtifactPreferences.h>
#include <aws/servicecatalog/model/ProvisioningArtifactParameter.h>
#include <aws/servicecatalog/model/ConstraintSummary.h>
#include <aws/servicecatalog/model/UsageInstruction.h>
#include <aws/servicecatalog/model/TagOptionSummary.h>
#include <aws/servicecatalog/model/ProvisioningArtifactOutput.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DescribeProvisioningParametersResult
{
public:
DescribeProvisioningParametersResult();
DescribeProvisioningParametersResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeProvisioningParametersResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Information about the parameters used to provision the product.</p>
*/
inline const Aws::Vector<ProvisioningArtifactParameter>& GetProvisioningArtifactParameters() const{ return m_provisioningArtifactParameters; }
/**
* <p>Information about the parameters used to provision the product.</p>
*/
inline void SetProvisioningArtifactParameters(const Aws::Vector<ProvisioningArtifactParameter>& value) { m_provisioningArtifactParameters = value; }
/**
* <p>Information about the parameters used to provision the product.</p>
*/
inline void SetProvisioningArtifactParameters(Aws::Vector<ProvisioningArtifactParameter>&& value) { m_provisioningArtifactParameters = std::move(value); }
/**
* <p>Information about the parameters used to provision the product.</p>
*/
inline DescribeProvisioningParametersResult& WithProvisioningArtifactParameters(const Aws::Vector<ProvisioningArtifactParameter>& value) { SetProvisioningArtifactParameters(value); return *this;}
/**
* <p>Information about the parameters used to provision the product.</p>
*/
inline DescribeProvisioningParametersResult& WithProvisioningArtifactParameters(Aws::Vector<ProvisioningArtifactParameter>&& value) { SetProvisioningArtifactParameters(std::move(value)); return *this;}
/**
* <p>Information about the parameters used to provision the product.</p>
*/
inline DescribeProvisioningParametersResult& AddProvisioningArtifactParameters(const ProvisioningArtifactParameter& value) { m_provisioningArtifactParameters.push_back(value); return *this; }
/**
* <p>Information about the parameters used to provision the product.</p>
*/
inline DescribeProvisioningParametersResult& AddProvisioningArtifactParameters(ProvisioningArtifactParameter&& value) { m_provisioningArtifactParameters.push_back(std::move(value)); return *this; }
/**
* <p>Information about the constraints used to provision the product.</p>
*/
inline const Aws::Vector<ConstraintSummary>& GetConstraintSummaries() const{ return m_constraintSummaries; }
/**
* <p>Information about the constraints used to provision the product.</p>
*/
inline void SetConstraintSummaries(const Aws::Vector<ConstraintSummary>& value) { m_constraintSummaries = value; }
/**
* <p>Information about the constraints used to provision the product.</p>
*/
inline void SetConstraintSummaries(Aws::Vector<ConstraintSummary>&& value) { m_constraintSummaries = std::move(value); }
/**
* <p>Information about the constraints used to provision the product.</p>
*/
inline DescribeProvisioningParametersResult& WithConstraintSummaries(const Aws::Vector<ConstraintSummary>& value) { SetConstraintSummaries(value); return *this;}
/**
* <p>Information about the constraints used to provision the product.</p>
*/
inline DescribeProvisioningParametersResult& WithConstraintSummaries(Aws::Vector<ConstraintSummary>&& value) { SetConstraintSummaries(std::move(value)); return *this;}
/**
* <p>Information about the constraints used to provision the product.</p>
*/
inline DescribeProvisioningParametersResult& AddConstraintSummaries(const ConstraintSummary& value) { m_constraintSummaries.push_back(value); return *this; }
/**
* <p>Information about the constraints used to provision the product.</p>
*/
inline DescribeProvisioningParametersResult& AddConstraintSummaries(ConstraintSummary&& value) { m_constraintSummaries.push_back(std::move(value)); return *this; }
/**
* <p>Any additional metadata specifically related to the provisioning of the
* product. For example, see the <code>Version</code> field of the CloudFormation
* template.</p>
*/
inline const Aws::Vector<UsageInstruction>& GetUsageInstructions() const{ return m_usageInstructions; }
/**
* <p>Any additional metadata specifically related to the provisioning of the
* product. For example, see the <code>Version</code> field of the CloudFormation
* template.</p>
*/
inline void SetUsageInstructions(const Aws::Vector<UsageInstruction>& value) { m_usageInstructions = value; }
/**
* <p>Any additional metadata specifically related to the provisioning of the
* product. For example, see the <code>Version</code> field of the CloudFormation
* template.</p>
*/
inline void SetUsageInstructions(Aws::Vector<UsageInstruction>&& value) { m_usageInstructions = std::move(value); }
/**
* <p>Any additional metadata specifically related to the provisioning of the
* product. For example, see the <code>Version</code> field of the CloudFormation
* template.</p>
*/
inline DescribeProvisioningParametersResult& WithUsageInstructions(const Aws::Vector<UsageInstruction>& value) { SetUsageInstructions(value); return *this;}
/**
* <p>Any additional metadata specifically related to the provisioning of the
* product. For example, see the <code>Version</code> field of the CloudFormation
* template.</p>
*/
inline DescribeProvisioningParametersResult& WithUsageInstructions(Aws::Vector<UsageInstruction>&& value) { SetUsageInstructions(std::move(value)); return *this;}
/**
* <p>Any additional metadata specifically related to the provisioning of the
* product. For example, see the <code>Version</code> field of the CloudFormation
* template.</p>
*/
inline DescribeProvisioningParametersResult& AddUsageInstructions(const UsageInstruction& value) { m_usageInstructions.push_back(value); return *this; }
/**
* <p>Any additional metadata specifically related to the provisioning of the
* product. For example, see the <code>Version</code> field of the CloudFormation
* template.</p>
*/
inline DescribeProvisioningParametersResult& AddUsageInstructions(UsageInstruction&& value) { m_usageInstructions.push_back(std::move(value)); return *this; }
/**
* <p>Information about the TagOptions associated with the resource.</p>
*/
inline const Aws::Vector<TagOptionSummary>& GetTagOptions() const{ return m_tagOptions; }
/**
* <p>Information about the TagOptions associated with the resource.</p>
*/
inline void SetTagOptions(const Aws::Vector<TagOptionSummary>& value) { m_tagOptions = value; }
/**
* <p>Information about the TagOptions associated with the resource.</p>
*/
inline void SetTagOptions(Aws::Vector<TagOptionSummary>&& value) { m_tagOptions = std::move(value); }
/**
* <p>Information about the TagOptions associated with the resource.</p>
*/
inline DescribeProvisioningParametersResult& WithTagOptions(const Aws::Vector<TagOptionSummary>& value) { SetTagOptions(value); return *this;}
/**
* <p>Information about the TagOptions associated with the resource.</p>
*/
inline DescribeProvisioningParametersResult& WithTagOptions(Aws::Vector<TagOptionSummary>&& value) { SetTagOptions(std::move(value)); return *this;}
/**
* <p>Information about the TagOptions associated with the resource.</p>
*/
inline DescribeProvisioningParametersResult& AddTagOptions(const TagOptionSummary& value) { m_tagOptions.push_back(value); return *this; }
/**
* <p>Information about the TagOptions associated with the resource.</p>
*/
inline DescribeProvisioningParametersResult& AddTagOptions(TagOptionSummary&& value) { m_tagOptions.push_back(std::move(value)); return *this; }
/**
* <p>An object that contains information about preferences, such as regions and
* accounts, for the provisioning artifact.</p>
*/
inline const ProvisioningArtifactPreferences& GetProvisioningArtifactPreferences() const{ return m_provisioningArtifactPreferences; }
/**
* <p>An object that contains information about preferences, such as regions and
* accounts, for the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactPreferences(const ProvisioningArtifactPreferences& value) { m_provisioningArtifactPreferences = value; }
/**
* <p>An object that contains information about preferences, such as regions and
* accounts, for the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactPreferences(ProvisioningArtifactPreferences&& value) { m_provisioningArtifactPreferences = std::move(value); }
/**
* <p>An object that contains information about preferences, such as regions and
* accounts, for the provisioning artifact.</p>
*/
inline DescribeProvisioningParametersResult& WithProvisioningArtifactPreferences(const ProvisioningArtifactPreferences& value) { SetProvisioningArtifactPreferences(value); return *this;}
/**
* <p>An object that contains information about preferences, such as regions and
* accounts, for the provisioning artifact.</p>
*/
inline DescribeProvisioningParametersResult& WithProvisioningArtifactPreferences(ProvisioningArtifactPreferences&& value) { SetProvisioningArtifactPreferences(std::move(value)); return *this;}
/**
* <p>The output of the provisioning artifact.</p>
*/
inline const Aws::Vector<ProvisioningArtifactOutput>& GetProvisioningArtifactOutputs() const{ return m_provisioningArtifactOutputs; }
/**
* <p>The output of the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactOutputs(const Aws::Vector<ProvisioningArtifactOutput>& value) { m_provisioningArtifactOutputs = value; }
/**
* <p>The output of the provisioning artifact.</p>
*/
inline void SetProvisioningArtifactOutputs(Aws::Vector<ProvisioningArtifactOutput>&& value) { m_provisioningArtifactOutputs = std::move(value); }
/**
* <p>The output of the provisioning artifact.</p>
*/
inline DescribeProvisioningParametersResult& WithProvisioningArtifactOutputs(const Aws::Vector<ProvisioningArtifactOutput>& value) { SetProvisioningArtifactOutputs(value); return *this;}
/**
* <p>The output of the provisioning artifact.</p>
*/
inline DescribeProvisioningParametersResult& WithProvisioningArtifactOutputs(Aws::Vector<ProvisioningArtifactOutput>&& value) { SetProvisioningArtifactOutputs(std::move(value)); return *this;}
/**
* <p>The output of the provisioning artifact.</p>
*/
inline DescribeProvisioningParametersResult& AddProvisioningArtifactOutputs(const ProvisioningArtifactOutput& value) { m_provisioningArtifactOutputs.push_back(value); return *this; }
/**
* <p>The output of the provisioning artifact.</p>
*/
inline DescribeProvisioningParametersResult& AddProvisioningArtifactOutputs(ProvisioningArtifactOutput&& value) { m_provisioningArtifactOutputs.push_back(std::move(value)); return *this; }
private:
Aws::Vector<ProvisioningArtifactParameter> m_provisioningArtifactParameters;
Aws::Vector<ConstraintSummary> m_constraintSummaries;
Aws::Vector<UsageInstruction> m_usageInstructions;
Aws::Vector<TagOptionSummary> m_tagOptions;
ProvisioningArtifactPreferences m_provisioningArtifactPreferences;
Aws::Vector<ProvisioningArtifactOutput> m_provisioningArtifactOutputs;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,229 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DescribeRecordRequest : public ServiceCatalogRequest
{
public:
DescribeRecordRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DescribeRecord"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeRecordRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeRecordRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeRecordRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The record identifier of the provisioned product. This identifier is returned
* by the request operation.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The record identifier of the provisioned product. This identifier is returned
* by the request operation.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The record identifier of the provisioned product. This identifier is returned
* by the request operation.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The record identifier of the provisioned product. This identifier is returned
* by the request operation.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The record identifier of the provisioned product. This identifier is returned
* by the request operation.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The record identifier of the provisioned product. This identifier is returned
* by the request operation.</p>
*/
inline DescribeRecordRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The record identifier of the provisioned product. This identifier is returned
* by the request operation.</p>
*/
inline DescribeRecordRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The record identifier of the provisioned product. This identifier is returned
* by the request operation.</p>
*/
inline DescribeRecordRequest& WithId(const char* value) { SetId(value); return *this;}
/**
* <p>The page token for the next set of results. To retrieve the first set of
* results, use null.</p>
*/
inline const Aws::String& GetPageToken() const{ return m_pageToken; }
/**
* <p>The page token for the next set of results. To retrieve the first set of
* results, use null.</p>
*/
inline bool PageTokenHasBeenSet() const { return m_pageTokenHasBeenSet; }
/**
* <p>The page token for the next set of results. To retrieve the first set of
* results, use null.</p>
*/
inline void SetPageToken(const Aws::String& value) { m_pageTokenHasBeenSet = true; m_pageToken = value; }
/**
* <p>The page token for the next set of results. To retrieve the first set of
* results, use null.</p>
*/
inline void SetPageToken(Aws::String&& value) { m_pageTokenHasBeenSet = true; m_pageToken = std::move(value); }
/**
* <p>The page token for the next set of results. To retrieve the first set of
* results, use null.</p>
*/
inline void SetPageToken(const char* value) { m_pageTokenHasBeenSet = true; m_pageToken.assign(value); }
/**
* <p>The page token for the next set of results. To retrieve the first set of
* results, use null.</p>
*/
inline DescribeRecordRequest& WithPageToken(const Aws::String& value) { SetPageToken(value); return *this;}
/**
* <p>The page token for the next set of results. To retrieve the first set of
* results, use null.</p>
*/
inline DescribeRecordRequest& WithPageToken(Aws::String&& value) { SetPageToken(std::move(value)); return *this;}
/**
* <p>The page token for the next set of results. To retrieve the first set of
* results, use null.</p>
*/
inline DescribeRecordRequest& WithPageToken(const char* value) { SetPageToken(value); return *this;}
/**
* <p>The maximum number of items to return with this call.</p>
*/
inline int GetPageSize() const{ return m_pageSize; }
/**
* <p>The maximum number of items to return with this call.</p>
*/
inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
/**
* <p>The maximum number of items to return with this call.</p>
*/
inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
/**
* <p>The maximum number of items to return with this call.</p>
*/
inline DescribeRecordRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
private:
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
Aws::String m_id;
bool m_idHasBeenSet;
Aws::String m_pageToken;
bool m_pageTokenHasBeenSet;
int m_pageSize;
bool m_pageSizeHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,167 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/model/RecordDetail.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/servicecatalog/model/RecordOutput.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DescribeRecordResult
{
public:
DescribeRecordResult();
DescribeRecordResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeRecordResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Information about the product.</p>
*/
inline const RecordDetail& GetRecordDetail() const{ return m_recordDetail; }
/**
* <p>Information about the product.</p>
*/
inline void SetRecordDetail(const RecordDetail& value) { m_recordDetail = value; }
/**
* <p>Information about the product.</p>
*/
inline void SetRecordDetail(RecordDetail&& value) { m_recordDetail = std::move(value); }
/**
* <p>Information about the product.</p>
*/
inline DescribeRecordResult& WithRecordDetail(const RecordDetail& value) { SetRecordDetail(value); return *this;}
/**
* <p>Information about the product.</p>
*/
inline DescribeRecordResult& WithRecordDetail(RecordDetail&& value) { SetRecordDetail(std::move(value)); return *this;}
/**
* <p>Information about the product created as the result of a request. For
* example, the output for a CloudFormation-backed product that creates an S3
* bucket would include the S3 bucket URL.</p>
*/
inline const Aws::Vector<RecordOutput>& GetRecordOutputs() const{ return m_recordOutputs; }
/**
* <p>Information about the product created as the result of a request. For
* example, the output for a CloudFormation-backed product that creates an S3
* bucket would include the S3 bucket URL.</p>
*/
inline void SetRecordOutputs(const Aws::Vector<RecordOutput>& value) { m_recordOutputs = value; }
/**
* <p>Information about the product created as the result of a request. For
* example, the output for a CloudFormation-backed product that creates an S3
* bucket would include the S3 bucket URL.</p>
*/
inline void SetRecordOutputs(Aws::Vector<RecordOutput>&& value) { m_recordOutputs = std::move(value); }
/**
* <p>Information about the product created as the result of a request. For
* example, the output for a CloudFormation-backed product that creates an S3
* bucket would include the S3 bucket URL.</p>
*/
inline DescribeRecordResult& WithRecordOutputs(const Aws::Vector<RecordOutput>& value) { SetRecordOutputs(value); return *this;}
/**
* <p>Information about the product created as the result of a request. For
* example, the output for a CloudFormation-backed product that creates an S3
* bucket would include the S3 bucket URL.</p>
*/
inline DescribeRecordResult& WithRecordOutputs(Aws::Vector<RecordOutput>&& value) { SetRecordOutputs(std::move(value)); return *this;}
/**
* <p>Information about the product created as the result of a request. For
* example, the output for a CloudFormation-backed product that creates an S3
* bucket would include the S3 bucket URL.</p>
*/
inline DescribeRecordResult& AddRecordOutputs(const RecordOutput& value) { m_recordOutputs.push_back(value); return *this; }
/**
* <p>Information about the product created as the result of a request. For
* example, the output for a CloudFormation-backed product that creates an S3
* bucket would include the S3 bucket URL.</p>
*/
inline DescribeRecordResult& AddRecordOutputs(RecordOutput&& value) { m_recordOutputs.push_back(std::move(value)); return *this; }
/**
* <p>The page token to use to retrieve the next set of results. If there are no
* additional results, this value is null.</p>
*/
inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
/**
* <p>The page token to use to retrieve the next set of results. If there are no
* additional results, this value is null.</p>
*/
inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; }
/**
* <p>The page token to use to retrieve the next set of results. If there are no
* additional results, this value is null.</p>
*/
inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = std::move(value); }
/**
* <p>The page token to use to retrieve the next set of results. If there are no
* additional results, this value is null.</p>
*/
inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); }
/**
* <p>The page token to use to retrieve the next set of results. If there are no
* additional results, this value is null.</p>
*/
inline DescribeRecordResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
/**
* <p>The page token to use to retrieve the next set of results. If there are no
* additional results, this value is null.</p>
*/
inline DescribeRecordResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
/**
* <p>The page token to use to retrieve the next set of results. If there are no
* additional results, this value is null.</p>
*/
inline DescribeRecordResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
private:
RecordDetail m_recordDetail;
Aws::Vector<RecordOutput> m_recordOutputs;
Aws::String m_nextPageToken;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,189 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DescribeServiceActionExecutionParametersRequest : public ServiceCatalogRequest
{
public:
DescribeServiceActionExecutionParametersRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DescribeServiceActionExecutionParameters"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The identifier of the provisioned product.</p>
*/
inline const Aws::String& GetProvisionedProductId() const{ return m_provisionedProductId; }
/**
* <p>The identifier of the provisioned product.</p>
*/
inline bool ProvisionedProductIdHasBeenSet() const { return m_provisionedProductIdHasBeenSet; }
/**
* <p>The identifier of the provisioned product.</p>
*/
inline void SetProvisionedProductId(const Aws::String& value) { m_provisionedProductIdHasBeenSet = true; m_provisionedProductId = value; }
/**
* <p>The identifier of the provisioned product.</p>
*/
inline void SetProvisionedProductId(Aws::String&& value) { m_provisionedProductIdHasBeenSet = true; m_provisionedProductId = std::move(value); }
/**
* <p>The identifier of the provisioned product.</p>
*/
inline void SetProvisionedProductId(const char* value) { m_provisionedProductIdHasBeenSet = true; m_provisionedProductId.assign(value); }
/**
* <p>The identifier of the provisioned product.</p>
*/
inline DescribeServiceActionExecutionParametersRequest& WithProvisionedProductId(const Aws::String& value) { SetProvisionedProductId(value); return *this;}
/**
* <p>The identifier of the provisioned product.</p>
*/
inline DescribeServiceActionExecutionParametersRequest& WithProvisionedProductId(Aws::String&& value) { SetProvisionedProductId(std::move(value)); return *this;}
/**
* <p>The identifier of the provisioned product.</p>
*/
inline DescribeServiceActionExecutionParametersRequest& WithProvisionedProductId(const char* value) { SetProvisionedProductId(value); return *this;}
/**
* <p>The self-service action identifier.</p>
*/
inline const Aws::String& GetServiceActionId() const{ return m_serviceActionId; }
/**
* <p>The self-service action identifier.</p>
*/
inline bool ServiceActionIdHasBeenSet() const { return m_serviceActionIdHasBeenSet; }
/**
* <p>The self-service action identifier.</p>
*/
inline void SetServiceActionId(const Aws::String& value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId = value; }
/**
* <p>The self-service action identifier.</p>
*/
inline void SetServiceActionId(Aws::String&& value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId = std::move(value); }
/**
* <p>The self-service action identifier.</p>
*/
inline void SetServiceActionId(const char* value) { m_serviceActionIdHasBeenSet = true; m_serviceActionId.assign(value); }
/**
* <p>The self-service action identifier.</p>
*/
inline DescribeServiceActionExecutionParametersRequest& WithServiceActionId(const Aws::String& value) { SetServiceActionId(value); return *this;}
/**
* <p>The self-service action identifier.</p>
*/
inline DescribeServiceActionExecutionParametersRequest& WithServiceActionId(Aws::String&& value) { SetServiceActionId(std::move(value)); return *this;}
/**
* <p>The self-service action identifier.</p>
*/
inline DescribeServiceActionExecutionParametersRequest& WithServiceActionId(const char* value) { SetServiceActionId(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeServiceActionExecutionParametersRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeServiceActionExecutionParametersRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeServiceActionExecutionParametersRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
private:
Aws::String m_provisionedProductId;
bool m_provisionedProductIdHasBeenSet;
Aws::String m_serviceActionId;
bool m_serviceActionIdHasBeenSet;
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,78 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/servicecatalog/model/ExecutionParameter.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DescribeServiceActionExecutionParametersResult
{
public:
DescribeServiceActionExecutionParametersResult();
DescribeServiceActionExecutionParametersResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeServiceActionExecutionParametersResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The parameters of the self-service action.</p>
*/
inline const Aws::Vector<ExecutionParameter>& GetServiceActionParameters() const{ return m_serviceActionParameters; }
/**
* <p>The parameters of the self-service action.</p>
*/
inline void SetServiceActionParameters(const Aws::Vector<ExecutionParameter>& value) { m_serviceActionParameters = value; }
/**
* <p>The parameters of the self-service action.</p>
*/
inline void SetServiceActionParameters(Aws::Vector<ExecutionParameter>&& value) { m_serviceActionParameters = std::move(value); }
/**
* <p>The parameters of the self-service action.</p>
*/
inline DescribeServiceActionExecutionParametersResult& WithServiceActionParameters(const Aws::Vector<ExecutionParameter>& value) { SetServiceActionParameters(value); return *this;}
/**
* <p>The parameters of the self-service action.</p>
*/
inline DescribeServiceActionExecutionParametersResult& WithServiceActionParameters(Aws::Vector<ExecutionParameter>&& value) { SetServiceActionParameters(std::move(value)); return *this;}
/**
* <p>The parameters of the self-service action.</p>
*/
inline DescribeServiceActionExecutionParametersResult& AddServiceActionParameters(const ExecutionParameter& value) { m_serviceActionParameters.push_back(value); return *this; }
/**
* <p>The parameters of the self-service action.</p>
*/
inline DescribeServiceActionExecutionParametersResult& AddServiceActionParameters(ExecutionParameter&& value) { m_serviceActionParameters.push_back(std::move(value)); return *this; }
private:
Aws::Vector<ExecutionParameter> m_serviceActionParameters;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,145 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DescribeServiceActionRequest : public ServiceCatalogRequest
{
public:
DescribeServiceActionRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DescribeServiceAction"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The self-service action identifier.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The self-service action identifier.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The self-service action identifier.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The self-service action identifier.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The self-service action identifier.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The self-service action identifier.</p>
*/
inline DescribeServiceActionRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The self-service action identifier.</p>
*/
inline DescribeServiceActionRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The self-service action identifier.</p>
*/
inline DescribeServiceActionRequest& WithId(const char* value) { SetId(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeServiceActionRequest& WithAcceptLanguage(const Aws::String& value) { SetAcceptLanguage(value); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeServiceActionRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
/**
* <p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p>
* </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> -
* Chinese</p> </li> </ul>
*/
inline DescribeServiceActionRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
private:
Aws::String m_id;
bool m_idHasBeenSet;
Aws::String m_acceptLanguage;
bool m_acceptLanguageHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,67 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/model/ServiceActionDetail.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DescribeServiceActionResult
{
public:
DescribeServiceActionResult();
DescribeServiceActionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeServiceActionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Detailed information about the self-service action.</p>
*/
inline const ServiceActionDetail& GetServiceActionDetail() const{ return m_serviceActionDetail; }
/**
* <p>Detailed information about the self-service action.</p>
*/
inline void SetServiceActionDetail(const ServiceActionDetail& value) { m_serviceActionDetail = value; }
/**
* <p>Detailed information about the self-service action.</p>
*/
inline void SetServiceActionDetail(ServiceActionDetail&& value) { m_serviceActionDetail = std::move(value); }
/**
* <p>Detailed information about the self-service action.</p>
*/
inline DescribeServiceActionResult& WithServiceActionDetail(const ServiceActionDetail& value) { SetServiceActionDetail(value); return *this;}
/**
* <p>Detailed information about the self-service action.</p>
*/
inline DescribeServiceActionResult& WithServiceActionDetail(ServiceActionDetail&& value) { SetServiceActionDetail(std::move(value)); return *this;}
private:
ServiceActionDetail m_serviceActionDetail;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,85 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DescribeTagOptionRequest : public ServiceCatalogRequest
{
public:
DescribeTagOptionRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DescribeTagOption"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The TagOption identifier.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The TagOption identifier.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The TagOption identifier.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The TagOption identifier.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The TagOption identifier.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The TagOption identifier.</p>
*/
inline DescribeTagOptionRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The TagOption identifier.</p>
*/
inline DescribeTagOptionRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The TagOption identifier.</p>
*/
inline DescribeTagOptionRequest& WithId(const char* value) { SetId(value); return *this;}
private:
Aws::String m_id;
bool m_idHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,67 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/model/TagOptionDetail.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DescribeTagOptionResult
{
public:
DescribeTagOptionResult();
DescribeTagOptionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeTagOptionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Information about the TagOption.</p>
*/
inline const TagOptionDetail& GetTagOptionDetail() const{ return m_tagOptionDetail; }
/**
* <p>Information about the TagOption.</p>
*/
inline void SetTagOptionDetail(const TagOptionDetail& value) { m_tagOptionDetail = value; }
/**
* <p>Information about the TagOption.</p>
*/
inline void SetTagOptionDetail(TagOptionDetail&& value) { m_tagOptionDetail = std::move(value); }
/**
* <p>Information about the TagOption.</p>
*/
inline DescribeTagOptionResult& WithTagOptionDetail(const TagOptionDetail& value) { SetTagOptionDetail(value); return *this;}
/**
* <p>Information about the TagOption.</p>
*/
inline DescribeTagOptionResult& WithTagOptionDetail(TagOptionDetail&& value) { SetTagOptionDetail(std::move(value)); return *this;}
private:
TagOptionDetail m_tagOptionDetail;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,38 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DisableAWSOrganizationsAccessRequest : public ServiceCatalogRequest
{
public:
DisableAWSOrganizationsAccessRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DisableAWSOrganizationsAccess"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServiceCatalog
{
namespace Model
{
class AWS_SERVICECATALOG_API DisableAWSOrganizationsAccessResult
{
public:
DisableAWSOrganizationsAccessResult();
DisableAWSOrganizationsAccessResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DisableAWSOrganizationsAccessResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

View File

@@ -0,0 +1,137 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
#include <aws/servicecatalog/ServiceCatalogRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
/**
*/
class AWS_SERVICECATALOG_API DisassociateBudgetFromResourceRequest : public ServiceCatalogRequest
{
public:
DisassociateBudgetFromResourceRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DisassociateBudgetFromResource"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the budget you want to disassociate.</p>
*/
inline const Aws::String& GetBudgetName() const{ return m_budgetName; }
/**
* <p>The name of the budget you want to disassociate.</p>
*/
inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
/**
* <p>The name of the budget you want to disassociate.</p>
*/
inline void SetBudgetName(const Aws::String& value) { m_budgetNameHasBeenSet = true; m_budgetName = value; }
/**
* <p>The name of the budget you want to disassociate.</p>
*/
inline void SetBudgetName(Aws::String&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::move(value); }
/**
* <p>The name of the budget you want to disassociate.</p>
*/
inline void SetBudgetName(const char* value) { m_budgetNameHasBeenSet = true; m_budgetName.assign(value); }
/**
* <p>The name of the budget you want to disassociate.</p>
*/
inline DisassociateBudgetFromResourceRequest& WithBudgetName(const Aws::String& value) { SetBudgetName(value); return *this;}
/**
* <p>The name of the budget you want to disassociate.</p>
*/
inline DisassociateBudgetFromResourceRequest& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;}
/**
* <p>The name of the budget you want to disassociate.</p>
*/
inline DisassociateBudgetFromResourceRequest& WithBudgetName(const char* value) { SetBudgetName(value); return *this;}
/**
* <p>The resource identifier you want to disassociate from. Either a portfolio-id
* or a product-id.</p>
*/
inline const Aws::String& GetResourceId() const{ return m_resourceId; }
/**
* <p>The resource identifier you want to disassociate from. Either a portfolio-id
* or a product-id.</p>
*/
inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
/**
* <p>The resource identifier you want to disassociate from. Either a portfolio-id
* or a product-id.</p>
*/
inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
/**
* <p>The resource identifier you want to disassociate from. Either a portfolio-id
* or a product-id.</p>
*/
inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
/**
* <p>The resource identifier you want to disassociate from. Either a portfolio-id
* or a product-id.</p>
*/
inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
/**
* <p>The resource identifier you want to disassociate from. Either a portfolio-id
* or a product-id.</p>
*/
inline DisassociateBudgetFromResourceRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
/**
* <p>The resource identifier you want to disassociate from. Either a portfolio-id
* or a product-id.</p>
*/
inline DisassociateBudgetFromResourceRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
/**
* <p>The resource identifier you want to disassociate from. Either a portfolio-id
* or a product-id.</p>
*/
inline DisassociateBudgetFromResourceRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
private:
Aws::String m_budgetName;
bool m_budgetNameHasBeenSet;
Aws::String m_resourceId;
bool m_resourceIdHasBeenSet;
};
} // namespace Model
} // namespace ServiceCatalog
} // namespace Aws

Some files were not shown because too many files have changed in this diff Show More