AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
46 inline const Aws::String& GetAccountId() const{ return m_accountId; }
47 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
49 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
50 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
51 inline AccountSharingInfo& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
52 inline AccountSharingInfo& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
53 inline AccountSharingInfo& WithAccountId(const char* value) { SetAccountId(value); return *this;}
55
57
60 inline const Aws::String& GetSharedDocumentVersion() const{ return m_sharedDocumentVersion; }
61 inline bool SharedDocumentVersionHasBeenSet() const { return m_sharedDocumentVersionHasBeenSet; }
62 inline void SetSharedDocumentVersion(const Aws::String& value) { m_sharedDocumentVersionHasBeenSet = true; m_sharedDocumentVersion = value; }
63 inline void SetSharedDocumentVersion(Aws::String&& value) { m_sharedDocumentVersionHasBeenSet = true; m_sharedDocumentVersion = std::move(value); }
64 inline void SetSharedDocumentVersion(const char* value) { m_sharedDocumentVersionHasBeenSet = true; m_sharedDocumentVersion.assign(value); }
66 inline AccountSharingInfo& WithSharedDocumentVersion(Aws::String&& value) { SetSharedDocumentVersion(std::move(value)); return *this;}
67 inline AccountSharingInfo& WithSharedDocumentVersion(const char* value) { SetSharedDocumentVersion(value); return *this;}
69 private:
70
71 Aws::String m_accountId;
72 bool m_accountIdHasBeenSet = false;
73
74 Aws::String m_sharedDocumentVersion;
75 bool m_sharedDocumentVersionHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SSM
80} // namespace Aws
AccountSharingInfo & WithSharedDocumentVersion(const char *value)
const Aws::String & GetSharedDocumentVersion() const
AccountSharingInfo & WithAccountId(const Aws::String &value)
AWS_SSM_API AccountSharingInfo(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(const Aws::String &value)
void SetSharedDocumentVersion(Aws::String &&value)
void SetSharedDocumentVersion(const char *value)
void SetAccountId(Aws::String &&value)
AWS_SSM_API AccountSharingInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AccountSharingInfo & WithAccountId(const char *value)
const Aws::String & GetAccountId() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AccountSharingInfo & WithSharedDocumentVersion(Aws::String &&value)
void SetSharedDocumentVersion(const Aws::String &value)
AccountSharingInfo & WithSharedDocumentVersion(const Aws::String &value)
AccountSharingInfo & WithAccountId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue