AWS SDK for C++  1.9.16
AWS SDK for C++
CloudFormationStackRecordSourceInfo.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Lightsail
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const CloudFormationStackRecordSourceType& GetResourceType() const{ return m_resourceType; }
46 
50  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
51 
55  inline void SetResourceType(const CloudFormationStackRecordSourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
56 
60  inline void SetResourceType(CloudFormationStackRecordSourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
61 
65  inline CloudFormationStackRecordSourceInfo& WithResourceType(const CloudFormationStackRecordSourceType& value) { SetResourceType(value); return *this;}
66 
70  inline CloudFormationStackRecordSourceInfo& WithResourceType(CloudFormationStackRecordSourceType&& value) { SetResourceType(std::move(value)); return *this;}
71 
72 
76  inline const Aws::String& GetName() const{ return m_name; }
77 
81  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
82 
86  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
87 
91  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
92 
96  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
97 
101  inline CloudFormationStackRecordSourceInfo& WithName(const Aws::String& value) { SetName(value); return *this;}
102 
106  inline CloudFormationStackRecordSourceInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
107 
111  inline CloudFormationStackRecordSourceInfo& WithName(const char* value) { SetName(value); return *this;}
112 
113 
117  inline const Aws::String& GetArn() const{ return m_arn; }
118 
122  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
123 
127  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
128 
132  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
133 
137  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
138 
142  inline CloudFormationStackRecordSourceInfo& WithArn(const Aws::String& value) { SetArn(value); return *this;}
143 
147  inline CloudFormationStackRecordSourceInfo& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
148 
152  inline CloudFormationStackRecordSourceInfo& WithArn(const char* value) { SetArn(value); return *this;}
153 
154  private:
155 
157  bool m_resourceTypeHasBeenSet;
158 
159  Aws::String m_name;
160  bool m_nameHasBeenSet;
161 
162  Aws::String m_arn;
163  bool m_arnHasBeenSet;
164  };
165 
166 } // namespace Model
167 } // namespace Lightsail
168 } // namespace Aws
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo
Definition: CloudFormationStackRecordSourceInfo.h:34
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: CloudFormationStackRecordSourceInfo.h:122
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::SetName
void SetName(Aws::String &&value)
Definition: CloudFormationStackRecordSourceInfo.h:91
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::WithArn
CloudFormationStackRecordSourceInfo & WithArn(const Aws::String &value)
Definition: CloudFormationStackRecordSourceInfo.h:142
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: CloudFormationStackRecordSourceInfo.h:50
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CloudFormationStackRecordSourceInfo.h:81
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::WithResourceType
CloudFormationStackRecordSourceInfo & WithResourceType(const CloudFormationStackRecordSourceType &value)
Definition: CloudFormationStackRecordSourceInfo.h:65
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::SetName
void SetName(const Aws::String &value)
Definition: CloudFormationStackRecordSourceInfo.h:86
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::SetResourceType
void SetResourceType(CloudFormationStackRecordSourceType &&value)
Definition: CloudFormationStackRecordSourceInfo.h:60
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::SetArn
void SetArn(Aws::String &&value)
Definition: CloudFormationStackRecordSourceInfo.h:132
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::WithArn
CloudFormationStackRecordSourceInfo & WithArn(const char *value)
Definition: CloudFormationStackRecordSourceInfo.h:152
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::WithArn
CloudFormationStackRecordSourceInfo & WithArn(Aws::String &&value)
Definition: CloudFormationStackRecordSourceInfo.h:147
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::SetArn
void SetArn(const char *value)
Definition: CloudFormationStackRecordSourceInfo.h:137
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::SetName
void SetName(const char *value)
Definition: CloudFormationStackRecordSourceInfo.h:96
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::GetArn
const Aws::String & GetArn() const
Definition: CloudFormationStackRecordSourceInfo.h:117
Lightsail_EXPORTS.h
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::WithName
CloudFormationStackRecordSourceInfo & WithName(const char *value)
Definition: CloudFormationStackRecordSourceInfo.h:111
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::SetArn
void SetArn(const Aws::String &value)
Definition: CloudFormationStackRecordSourceInfo.h:127
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::operator=
CloudFormationStackRecordSourceInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::CloudFormationStackRecordSourceInfo
CloudFormationStackRecordSourceInfo(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
CloudFormationStackRecordSourceType.h
Aws::Lightsail::Model::CloudFormationStackRecordSourceType
CloudFormationStackRecordSourceType
Definition: CloudFormationStackRecordSourceType.h:17
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::WithName
CloudFormationStackRecordSourceInfo & WithName(Aws::String &&value)
Definition: CloudFormationStackRecordSourceInfo.h:106
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::GetName
const Aws::String & GetName() const
Definition: CloudFormationStackRecordSourceInfo.h:76
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::SetResourceType
void SetResourceType(const CloudFormationStackRecordSourceType &value)
Definition: CloudFormationStackRecordSourceInfo.h:55
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::WithName
CloudFormationStackRecordSourceInfo & WithName(const Aws::String &value)
Definition: CloudFormationStackRecordSourceInfo.h:101
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::CloudFormationStackRecordSourceInfo
CloudFormationStackRecordSourceInfo()
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::WithResourceType
CloudFormationStackRecordSourceInfo & WithResourceType(CloudFormationStackRecordSourceType &&value)
Definition: CloudFormationStackRecordSourceInfo.h:70
Aws::Lightsail::Model::CloudFormationStackRecordSourceInfo::GetResourceType
const CloudFormationStackRecordSourceType & GetResourceType() const
Definition: CloudFormationStackRecordSourceInfo.h:45