AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
NodeOwnerInfo.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SSM
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SSM_API NodeOwnerInfo() = default;
38
39
41
44 inline const Aws::String& GetAccountId() const { return m_accountId; }
45 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
46 template<typename AccountIdT = Aws::String>
47 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
48 template<typename AccountIdT = Aws::String>
49 NodeOwnerInfo& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
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) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId = std::forward<OrganizationalUnitIdT>(value); }
60 template<typename OrganizationalUnitIdT = Aws::String>
61 NodeOwnerInfo& WithOrganizationalUnitId(OrganizationalUnitIdT&& value) { SetOrganizationalUnitId(std::forward<OrganizationalUnitIdT>(value)); return *this;}
63
65
72 inline const Aws::String& GetOrganizationalUnitPath() const { return m_organizationalUnitPath; }
73 inline bool OrganizationalUnitPathHasBeenSet() const { return m_organizationalUnitPathHasBeenSet; }
74 template<typename OrganizationalUnitPathT = Aws::String>
75 void SetOrganizationalUnitPath(OrganizationalUnitPathT&& value) { m_organizationalUnitPathHasBeenSet = true; m_organizationalUnitPath = std::forward<OrganizationalUnitPathT>(value); }
76 template<typename OrganizationalUnitPathT = Aws::String>
77 NodeOwnerInfo& WithOrganizationalUnitPath(OrganizationalUnitPathT&& value) { SetOrganizationalUnitPath(std::forward<OrganizationalUnitPathT>(value)); return *this;}
79 private:
80
81 Aws::String m_accountId;
82 bool m_accountIdHasBeenSet = false;
83
84 Aws::String m_organizationalUnitId;
85 bool m_organizationalUnitIdHasBeenSet = false;
86
87 Aws::String m_organizationalUnitPath;
88 bool m_organizationalUnitPathHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace SSM
93} // 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