AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
NodeOwnerInfo.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSM_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SSM {
20namespace Model {
21
28 public:
29 AWS_SSM_API NodeOwnerInfo() = default;
33
35
38 inline const Aws::String& GetAccountId() const { return m_accountId; }
39 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
40 template <typename AccountIdT = Aws::String>
41 void SetAccountId(AccountIdT&& value) {
42 m_accountIdHasBeenSet = true;
43 m_accountId = std::forward<AccountIdT>(value);
44 }
45 template <typename AccountIdT = Aws::String>
46 NodeOwnerInfo& WithAccountId(AccountIdT&& value) {
47 SetAccountId(std::forward<AccountIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetOrganizationalUnitId() const { return m_organizationalUnitId; }
57 inline bool OrganizationalUnitIdHasBeenSet() const { return m_organizationalUnitIdHasBeenSet; }
58 template <typename OrganizationalUnitIdT = Aws::String>
59 void SetOrganizationalUnitId(OrganizationalUnitIdT&& value) {
60 m_organizationalUnitIdHasBeenSet = true;
61 m_organizationalUnitId = std::forward<OrganizationalUnitIdT>(value);
62 }
63 template <typename OrganizationalUnitIdT = Aws::String>
64 NodeOwnerInfo& WithOrganizationalUnitId(OrganizationalUnitIdT&& value) {
65 SetOrganizationalUnitId(std::forward<OrganizationalUnitIdT>(value));
66 return *this;
67 }
69
71
78 inline const Aws::String& GetOrganizationalUnitPath() const { return m_organizationalUnitPath; }
79 inline bool OrganizationalUnitPathHasBeenSet() const { return m_organizationalUnitPathHasBeenSet; }
80 template <typename OrganizationalUnitPathT = Aws::String>
81 void SetOrganizationalUnitPath(OrganizationalUnitPathT&& value) {
82 m_organizationalUnitPathHasBeenSet = true;
83 m_organizationalUnitPath = std::forward<OrganizationalUnitPathT>(value);
84 }
85 template <typename OrganizationalUnitPathT = Aws::String>
86 NodeOwnerInfo& WithOrganizationalUnitPath(OrganizationalUnitPathT&& value) {
87 SetOrganizationalUnitPath(std::forward<OrganizationalUnitPathT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_accountId;
93
94 Aws::String m_organizationalUnitId;
95
96 Aws::String m_organizationalUnitPath;
97 bool m_accountIdHasBeenSet = false;
98 bool m_organizationalUnitIdHasBeenSet = false;
99 bool m_organizationalUnitPathHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace SSM
104} // namespace Aws
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
NodeOwnerInfo & WithOrganizationalUnitId(OrganizationalUnitIdT &&value)
NodeOwnerInfo & WithOrganizationalUnitPath(OrganizationalUnitPathT &&value)
void SetOrganizationalUnitPath(OrganizationalUnitPathT &&value)
const Aws::String & GetAccountId() const
NodeOwnerInfo & WithAccountId(AccountIdT &&value)
const Aws::String & GetOrganizationalUnitId() const
AWS_SSM_API NodeOwnerInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(AccountIdT &&value)
const Aws::String & GetOrganizationalUnitPath() const
AWS_SSM_API NodeOwnerInfo()=default
void SetOrganizationalUnitId(OrganizationalUnitIdT &&value)
bool OrganizationalUnitPathHasBeenSet() const
AWS_SSM_API NodeOwnerInfo(Aws::Utils::Json::JsonView jsonValue)
bool OrganizationalUnitIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue