AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClusterIamRole.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
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:
36 AWS_REDSHIFT_API ClusterIamRole();
37 AWS_REDSHIFT_API ClusterIamRole(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_REDSHIFT_API ClusterIamRole& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
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
45
49 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
50 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
51 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
52 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
53 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
54 inline ClusterIamRole& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
55 inline ClusterIamRole& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
56 inline ClusterIamRole& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
58
60
69 inline const Aws::String& GetApplyStatus() const{ return m_applyStatus; }
70 inline bool ApplyStatusHasBeenSet() const { return m_applyStatusHasBeenSet; }
71 inline void SetApplyStatus(const Aws::String& value) { m_applyStatusHasBeenSet = true; m_applyStatus = value; }
72 inline void SetApplyStatus(Aws::String&& value) { m_applyStatusHasBeenSet = true; m_applyStatus = std::move(value); }
73 inline void SetApplyStatus(const char* value) { m_applyStatusHasBeenSet = true; m_applyStatus.assign(value); }
74 inline ClusterIamRole& WithApplyStatus(const Aws::String& value) { SetApplyStatus(value); return *this;}
75 inline ClusterIamRole& WithApplyStatus(Aws::String&& value) { SetApplyStatus(std::move(value)); return *this;}
76 inline ClusterIamRole& WithApplyStatus(const char* value) { SetApplyStatus(value); return *this;}
78 private:
79
80 Aws::String m_iamRoleArn;
81 bool m_iamRoleArnHasBeenSet = false;
82
83 Aws::String m_applyStatus;
84 bool m_applyStatusHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Redshift
89} // namespace Aws
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