AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ClusterIamRole.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace Redshift
22{
23namespace Model
24{
25
34 {
35 public:
39
40 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_REDSHIFT_API 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 = false;
185
186 Aws::String m_applyStatus;
187 bool m_applyStatusHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace Redshift
192} // namespace Aws
#define AWS_REDSHIFT_API
AWS_REDSHIFT_API ClusterIamRole & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ClusterIamRole & WithIamRoleArn(const Aws::String &value)
void SetIamRoleArn(Aws::String &&value)
ClusterIamRole & WithIamRoleArn(Aws::String &&value)
AWS_REDSHIFT_API ClusterIamRole(const Aws::Utils::Xml::XmlNode &xmlNode)
ClusterIamRole & WithIamRoleArn(const char *value)
ClusterIamRole & WithApplyStatus(Aws::String &&value)
void SetIamRoleArn(const char *value)
void SetApplyStatus(const Aws::String &value)
const Aws::String & GetIamRoleArn() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetApplyStatus(Aws::String &&value)
ClusterIamRole & WithApplyStatus(const char *value)
const Aws::String & GetApplyStatus() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetApplyStatus(const char *value)
void SetIamRoleArn(const Aws::String &value)
ClusterIamRole & WithApplyStatus(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream