AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename IamRoleArnT = Aws::String>
52 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
53 template<typename IamRoleArnT = Aws::String>
54 ClusterIamRole& WithIamRoleArn(IamRoleArnT&& value) { SetIamRoleArn(std::forward<IamRoleArnT>(value)); return *this;}
56
58
67 inline const Aws::String& GetApplyStatus() const { return m_applyStatus; }
68 inline bool ApplyStatusHasBeenSet() const { return m_applyStatusHasBeenSet; }
69 template<typename ApplyStatusT = Aws::String>
70 void SetApplyStatus(ApplyStatusT&& value) { m_applyStatusHasBeenSet = true; m_applyStatus = std::forward<ApplyStatusT>(value); }
71 template<typename ApplyStatusT = Aws::String>
72 ClusterIamRole& WithApplyStatus(ApplyStatusT&& value) { SetApplyStatus(std::forward<ApplyStatusT>(value)); return *this;}
74 private:
75
76 Aws::String m_iamRoleArn;
77 bool m_iamRoleArnHasBeenSet = false;
78
79 Aws::String m_applyStatus;
80 bool m_applyStatusHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Redshift
85} // namespace Aws
AWS_REDSHIFT_API ClusterIamRole & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ClusterIamRole & WithApplyStatus(ApplyStatusT &&value)
AWS_REDSHIFT_API ClusterIamRole(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetIamRoleArn() const
ClusterIamRole & WithIamRoleArn(IamRoleArnT &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetApplyStatus(ApplyStatusT &&value)
void SetIamRoleArn(IamRoleArnT &&value)
const Aws::String & GetApplyStatus() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_REDSHIFT_API ClusterIamRole()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream