AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AccountSharingInfo.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
34 {
35 public:
36 AWS_SSM_API AccountSharingInfo() = default;
40
41
43
46 inline const Aws::String& GetAccountId() const { return m_accountId; }
47 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48 template<typename AccountIdT = Aws::String>
49 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
50 template<typename AccountIdT = Aws::String>
51 AccountSharingInfo& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetSharedDocumentVersion() const { return m_sharedDocumentVersion; }
59 inline bool SharedDocumentVersionHasBeenSet() const { return m_sharedDocumentVersionHasBeenSet; }
60 template<typename SharedDocumentVersionT = Aws::String>
61 void SetSharedDocumentVersion(SharedDocumentVersionT&& value) { m_sharedDocumentVersionHasBeenSet = true; m_sharedDocumentVersion = std::forward<SharedDocumentVersionT>(value); }
62 template<typename SharedDocumentVersionT = Aws::String>
63 AccountSharingInfo& WithSharedDocumentVersion(SharedDocumentVersionT&& value) { SetSharedDocumentVersion(std::forward<SharedDocumentVersionT>(value)); return *this;}
65 private:
66
67 Aws::String m_accountId;
68 bool m_accountIdHasBeenSet = false;
69
70 Aws::String m_sharedDocumentVersion;
71 bool m_sharedDocumentVersionHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace SSM
76} // namespace Aws
const Aws::String & GetSharedDocumentVersion() const
AccountSharingInfo & WithAccountId(AccountIdT &&value)
AWS_SSM_API AccountSharingInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API AccountSharingInfo()=default
void SetAccountId(AccountIdT &&value)
AWS_SSM_API AccountSharingInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AccountSharingInfo & WithSharedDocumentVersion(SharedDocumentVersionT &&value)
const Aws::String & GetAccountId() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSharedDocumentVersion(SharedDocumentVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue