AWS SDK for C++  1.9.104
AWS SDK for C++
ClusterIamRole.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 Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace Redshift
22 {
23 namespace Model
24 {
25 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
48  inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
49 
54  inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
55 
60  inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
61 
66  inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
67 
72  inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
73 
78  inline ClusterIamRole& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
79 
84  inline ClusterIamRole& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
85 
90  inline ClusterIamRole& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
91 
92 
102  inline const Aws::String& GetApplyStatus() const{ return m_applyStatus; }
103 
113  inline bool ApplyStatusHasBeenSet() const { return m_applyStatusHasBeenSet; }
114 
124  inline void SetApplyStatus(const Aws::String& value) { m_applyStatusHasBeenSet = true; m_applyStatus = value; }
125 
135  inline void SetApplyStatus(Aws::String&& value) { m_applyStatusHasBeenSet = true; m_applyStatus = std::move(value); }
136 
146  inline void SetApplyStatus(const char* value) { m_applyStatusHasBeenSet = true; m_applyStatus.assign(value); }
147 
157  inline ClusterIamRole& WithApplyStatus(const Aws::String& value) { SetApplyStatus(value); return *this;}
158 
168  inline ClusterIamRole& WithApplyStatus(Aws::String&& value) { SetApplyStatus(std::move(value)); return *this;}
169 
179  inline ClusterIamRole& WithApplyStatus(const char* value) { SetApplyStatus(value); return *this;}
180 
181  private:
182 
183  Aws::String m_iamRoleArn;
184  bool m_iamRoleArnHasBeenSet;
185 
186  Aws::String m_applyStatus;
187  bool m_applyStatusHasBeenSet;
188  };
189 
190 } // namespace Model
191 } // namespace Redshift
192 } // namespace Aws
Aws::Redshift::Model::ClusterIamRole::SetIamRoleArn
void SetIamRoleArn(const char *value)
Definition: ClusterIamRole.h:72
Aws::Redshift::Model::ClusterIamRole
Definition: ClusterIamRole.h:34
Aws::Redshift::Model::ClusterIamRole::SetIamRoleArn
void SetIamRoleArn(Aws::String &&value)
Definition: ClusterIamRole.h:66
Aws::Redshift::Model::ClusterIamRole::GetIamRoleArn
const Aws::String & GetIamRoleArn() const
Definition: ClusterIamRole.h:48
Aws::Redshift::Model::ClusterIamRole::ClusterIamRole
ClusterIamRole()
Aws::Redshift::Model::ClusterIamRole::GetApplyStatus
const Aws::String & GetApplyStatus() const
Definition: ClusterIamRole.h:102
Aws::Redshift::Model::ClusterIamRole::WithApplyStatus
ClusterIamRole & WithApplyStatus(const char *value)
Definition: ClusterIamRole.h:179
AWSStreamFwd.h
Aws::Redshift::Model::ClusterIamRole::SetIamRoleArn
void SetIamRoleArn(const Aws::String &value)
Definition: ClusterIamRole.h:60
Aws::Redshift::Model::ClusterIamRole::operator=
ClusterIamRole & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Redshift::Model::ClusterIamRole::WithIamRoleArn
ClusterIamRole & WithIamRoleArn(Aws::String &&value)
Definition: ClusterIamRole.h:84
Aws::Redshift::Model::ClusterIamRole::SetApplyStatus
void SetApplyStatus(const Aws::String &value)
Definition: ClusterIamRole.h:124
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::Redshift::Model::ClusterIamRole::SetApplyStatus
void SetApplyStatus(Aws::String &&value)
Definition: ClusterIamRole.h:135
Aws::Redshift::Model::ClusterIamRole::WithIamRoleArn
ClusterIamRole & WithIamRoleArn(const char *value)
Definition: ClusterIamRole.h:90
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::ClusterIamRole::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWSString.h
Aws::Redshift::Model::ClusterIamRole::WithApplyStatus
ClusterIamRole & WithApplyStatus(const Aws::String &value)
Definition: ClusterIamRole.h:157
Aws::Redshift::Model::ClusterIamRole::WithApplyStatus
ClusterIamRole & WithApplyStatus(Aws::String &&value)
Definition: ClusterIamRole.h:168
Aws::Redshift::Model::ClusterIamRole::ClusterIamRole
ClusterIamRole(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::ClusterIamRole::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Redshift_EXPORTS.h
Aws::Redshift::Model::ClusterIamRole::ApplyStatusHasBeenSet
bool ApplyStatusHasBeenSet() const
Definition: ClusterIamRole.h:113
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::Redshift::Model::ClusterIamRole::WithIamRoleArn
ClusterIamRole & WithIamRoleArn(const Aws::String &value)
Definition: ClusterIamRole.h:78
Aws::Redshift::Model::ClusterIamRole::SetApplyStatus
void SetApplyStatus(const char *value)
Definition: ClusterIamRole.h:146
Aws::Redshift::Model::ClusterIamRole::IamRoleArnHasBeenSet
bool IamRoleArnHasBeenSet() const
Definition: ClusterIamRole.h:54