AWS SDK for C++  1.9.175
AWS SDK for C++
ProvisioningArtifactOutput.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace ServiceCatalog
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetKey() const{ return m_key; }
44 
48  inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
49 
53  inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
54 
58  inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
59 
63  inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
64 
68  inline ProvisioningArtifactOutput& WithKey(const Aws::String& value) { SetKey(value); return *this;}
69 
73  inline ProvisioningArtifactOutput& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
74 
78  inline ProvisioningArtifactOutput& WithKey(const char* value) { SetKey(value); return *this;}
79 
80 
84  inline const Aws::String& GetDescription() const{ return m_description; }
85 
89  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 
94  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
95 
99  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
100 
104  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
105 
109  inline ProvisioningArtifactOutput& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
110 
114  inline ProvisioningArtifactOutput& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
115 
119  inline ProvisioningArtifactOutput& WithDescription(const char* value) { SetDescription(value); return *this;}
120 
121  private:
122 
123  Aws::String m_key;
124  bool m_keyHasBeenSet;
125 
126  Aws::String m_description;
127  bool m_descriptionHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace ServiceCatalog
132 } // namespace Aws
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput::WithDescription
ProvisioningArtifactOutput & WithDescription(Aws::String &&value)
Definition: ProvisioningArtifactOutput.h:114
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput::WithDescription
ProvisioningArtifactOutput & WithDescription(const Aws::String &value)
Definition: ProvisioningArtifactOutput.h:109
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput::SetKey
void SetKey(Aws::String &&value)
Definition: ProvisioningArtifactOutput.h:58
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput::WithKey
ProvisioningArtifactOutput & WithKey(Aws::String &&value)
Definition: ProvisioningArtifactOutput.h:73
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput::operator=
ProvisioningArtifactOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput::SetKey
void SetKey(const char *value)
Definition: ProvisioningArtifactOutput.h:63
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput::SetDescription
void SetDescription(const Aws::String &value)
Definition: ProvisioningArtifactOutput.h:94
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput::ProvisioningArtifactOutput
ProvisioningArtifactOutput()
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput::WithDescription
ProvisioningArtifactOutput & WithDescription(const char *value)
Definition: ProvisioningArtifactOutput.h:119
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput::ProvisioningArtifactOutput
ProvisioningArtifactOutput(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput::SetDescription
void SetDescription(Aws::String &&value)
Definition: ProvisioningArtifactOutput.h:99
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput::WithKey
ProvisioningArtifactOutput & WithKey(const Aws::String &value)
Definition: ProvisioningArtifactOutput.h:68
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput::SetDescription
void SetDescription(const char *value)
Definition: ProvisioningArtifactOutput.h:104
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput::GetKey
const Aws::String & GetKey() const
Definition: ProvisioningArtifactOutput.h:43
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput::KeyHasBeenSet
bool KeyHasBeenSet() const
Definition: ProvisioningArtifactOutput.h:48
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput
Definition: ProvisioningArtifactOutput.h:32
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput::WithKey
ProvisioningArtifactOutput & WithKey(const char *value)
Definition: ProvisioningArtifactOutput.h:78
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput::GetDescription
const Aws::String & GetDescription() const
Definition: ProvisioningArtifactOutput.h:84
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput::SetKey
void SetKey(const Aws::String &value)
Definition: ProvisioningArtifactOutput.h:53
Aws::ServiceCatalog::Model::ProvisioningArtifactOutput::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ProvisioningArtifactOutput.h:89