AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateProvisioningArtifactRequest.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/servicecatalog/ServiceCatalogRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/servicecatalog/model/ProvisioningArtifactProperties.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace ServiceCatalog
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SERVICECATALOG_API CreateProvisioningArtifactRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateProvisioningArtifact"; }
33
34 AWS_SERVICECATALOG_API Aws::String SerializePayload() const override;
35
36 AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
44 inline const Aws::String& GetAcceptLanguage() const{ return m_acceptLanguage; }
45 inline bool AcceptLanguageHasBeenSet() const { return m_acceptLanguageHasBeenSet; }
46 inline void SetAcceptLanguage(const Aws::String& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = value; }
47 inline void SetAcceptLanguage(Aws::String&& value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage = std::move(value); }
48 inline void SetAcceptLanguage(const char* value) { m_acceptLanguageHasBeenSet = true; m_acceptLanguage.assign(value); }
50 inline CreateProvisioningArtifactRequest& WithAcceptLanguage(Aws::String&& value) { SetAcceptLanguage(std::move(value)); return *this;}
51 inline CreateProvisioningArtifactRequest& WithAcceptLanguage(const char* value) { SetAcceptLanguage(value); return *this;}
53
55
58 inline const Aws::String& GetProductId() const{ return m_productId; }
59 inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
60 inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
61 inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
62 inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
63 inline CreateProvisioningArtifactRequest& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
64 inline CreateProvisioningArtifactRequest& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
65 inline CreateProvisioningArtifactRequest& WithProductId(const char* value) { SetProductId(value); return *this;}
67
69
72 inline const ProvisioningArtifactProperties& GetParameters() const{ return m_parameters; }
73 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
74 inline void SetParameters(const ProvisioningArtifactProperties& value) { m_parametersHasBeenSet = true; m_parameters = value; }
75 inline void SetParameters(ProvisioningArtifactProperties&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
79
81
86 inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
87 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
88 inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
89 inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
90 inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
93 inline CreateProvisioningArtifactRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
95 private:
96
97 Aws::String m_acceptLanguage;
98 bool m_acceptLanguageHasBeenSet = false;
99
100 Aws::String m_productId;
101 bool m_productIdHasBeenSet = false;
102
104 bool m_parametersHasBeenSet = false;
105
106 Aws::String m_idempotencyToken;
107 bool m_idempotencyTokenHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ServiceCatalog
112} // namespace Aws
CreateProvisioningArtifactRequest & WithProductId(const char *value)
CreateProvisioningArtifactRequest & WithIdempotencyToken(const char *value)
AWS_SERVICECATALOG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateProvisioningArtifactRequest & WithAcceptLanguage(const char *value)
CreateProvisioningArtifactRequest & WithIdempotencyToken(Aws::String &&value)
CreateProvisioningArtifactRequest & WithIdempotencyToken(const Aws::String &value)
CreateProvisioningArtifactRequest & WithProductId(const Aws::String &value)
CreateProvisioningArtifactRequest & WithParameters(ProvisioningArtifactProperties &&value)
AWS_SERVICECATALOG_API Aws::String SerializePayload() const override
CreateProvisioningArtifactRequest & WithProductId(Aws::String &&value)
CreateProvisioningArtifactRequest & WithAcceptLanguage(const Aws::String &value)
CreateProvisioningArtifactRequest & WithAcceptLanguage(Aws::String &&value)
CreateProvisioningArtifactRequest & WithParameters(const ProvisioningArtifactProperties &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String