AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
AwsLocation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DataZone {
20namespace Model {
21
28 public:
29 AWS_DATAZONE_API AwsLocation() = default;
30 AWS_DATAZONE_API AwsLocation(Aws::Utils::Json::JsonView jsonValue);
31 AWS_DATAZONE_API AwsLocation& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetAccessRole() const { return m_accessRole; }
39 inline bool AccessRoleHasBeenSet() const { return m_accessRoleHasBeenSet; }
40 template <typename AccessRoleT = Aws::String>
41 void SetAccessRole(AccessRoleT&& value) {
42 m_accessRoleHasBeenSet = true;
43 m_accessRole = std::forward<AccessRoleT>(value);
44 }
45 template <typename AccessRoleT = Aws::String>
46 AwsLocation& WithAccessRole(AccessRoleT&& value) {
47 SetAccessRole(std::forward<AccessRoleT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
57 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
58 template <typename AwsAccountIdT = Aws::String>
59 void SetAwsAccountId(AwsAccountIdT&& value) {
60 m_awsAccountIdHasBeenSet = true;
61 m_awsAccountId = std::forward<AwsAccountIdT>(value);
62 }
63 template <typename AwsAccountIdT = Aws::String>
64 AwsLocation& WithAwsAccountId(AwsAccountIdT&& value) {
65 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetAwsRegion() const { return m_awsRegion; }
75 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
76 template <typename AwsRegionT = Aws::String>
77 void SetAwsRegion(AwsRegionT&& value) {
78 m_awsRegionHasBeenSet = true;
79 m_awsRegion = std::forward<AwsRegionT>(value);
80 }
81 template <typename AwsRegionT = Aws::String>
82 AwsLocation& WithAwsRegion(AwsRegionT&& value) {
83 SetAwsRegion(std::forward<AwsRegionT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetIamConnectionId() const { return m_iamConnectionId; }
93 inline bool IamConnectionIdHasBeenSet() const { return m_iamConnectionIdHasBeenSet; }
94 template <typename IamConnectionIdT = Aws::String>
95 void SetIamConnectionId(IamConnectionIdT&& value) {
96 m_iamConnectionIdHasBeenSet = true;
97 m_iamConnectionId = std::forward<IamConnectionIdT>(value);
98 }
99 template <typename IamConnectionIdT = Aws::String>
100 AwsLocation& WithIamConnectionId(IamConnectionIdT&& value) {
101 SetIamConnectionId(std::forward<IamConnectionIdT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_accessRole;
107 bool m_accessRoleHasBeenSet = false;
108
109 Aws::String m_awsAccountId;
110 bool m_awsAccountIdHasBeenSet = false;
111
112 Aws::String m_awsRegion;
113 bool m_awsRegionHasBeenSet = false;
114
115 Aws::String m_iamConnectionId;
116 bool m_iamConnectionIdHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace DataZone
121} // namespace Aws
AWS_DATAZONE_API AwsLocation()=default
AwsLocation & WithAwsAccountId(AwsAccountIdT &&value)
Definition AwsLocation.h:64
AwsLocation & WithAwsRegion(AwsRegionT &&value)
Definition AwsLocation.h:82
void SetAccessRole(AccessRoleT &&value)
Definition AwsLocation.h:41
AwsLocation & WithAccessRole(AccessRoleT &&value)
Definition AwsLocation.h:46
const Aws::String & GetAwsAccountId() const
Definition AwsLocation.h:56
void SetAwsRegion(AwsRegionT &&value)
Definition AwsLocation.h:77
AWS_DATAZONE_API AwsLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIamConnectionId(IamConnectionIdT &&value)
Definition AwsLocation.h:95
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAccessRole() const
Definition AwsLocation.h:38
const Aws::String & GetIamConnectionId() const
Definition AwsLocation.h:92
void SetAwsAccountId(AwsAccountIdT &&value)
Definition AwsLocation.h:59
const Aws::String & GetAwsRegion() const
Definition AwsLocation.h:74
AwsLocation & WithIamConnectionId(IamConnectionIdT &&value)
AWS_DATAZONE_API AwsLocation(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue