AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDocumentPermissionResult.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ssm/model/AccountSharingInfo.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SSM
26{
27namespace Model
28{
30 {
31 public:
35
36
38
42 inline const Aws::Vector<Aws::String>& GetAccountIds() const{ return m_accountIds; }
43 inline void SetAccountIds(const Aws::Vector<Aws::String>& value) { m_accountIds = value; }
44 inline void SetAccountIds(Aws::Vector<Aws::String>&& value) { m_accountIds = std::move(value); }
47 inline DescribeDocumentPermissionResult& AddAccountIds(const Aws::String& value) { m_accountIds.push_back(value); return *this; }
48 inline DescribeDocumentPermissionResult& AddAccountIds(Aws::String&& value) { m_accountIds.push_back(std::move(value)); return *this; }
49 inline DescribeDocumentPermissionResult& AddAccountIds(const char* value) { m_accountIds.push_back(value); return *this; }
51
53
57 inline const Aws::Vector<AccountSharingInfo>& GetAccountSharingInfoList() const{ return m_accountSharingInfoList; }
58 inline void SetAccountSharingInfoList(const Aws::Vector<AccountSharingInfo>& value) { m_accountSharingInfoList = value; }
59 inline void SetAccountSharingInfoList(Aws::Vector<AccountSharingInfo>&& value) { m_accountSharingInfoList = std::move(value); }
62 inline DescribeDocumentPermissionResult& AddAccountSharingInfoList(const AccountSharingInfo& value) { m_accountSharingInfoList.push_back(value); return *this; }
63 inline DescribeDocumentPermissionResult& AddAccountSharingInfoList(AccountSharingInfo&& value) { m_accountSharingInfoList.push_back(std::move(value)); return *this; }
65
67
71 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
73 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
74 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
75 inline DescribeDocumentPermissionResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
76 inline DescribeDocumentPermissionResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
77 inline DescribeDocumentPermissionResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const{ return m_requestId; }
83 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
84 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
85 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
86 inline DescribeDocumentPermissionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
87 inline DescribeDocumentPermissionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
88 inline DescribeDocumentPermissionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
90 private:
91
92 Aws::Vector<Aws::String> m_accountIds;
93
94 Aws::Vector<AccountSharingInfo> m_accountSharingInfoList;
95
96 Aws::String m_nextToken;
97
98 Aws::String m_requestId;
99 };
100
101} // namespace Model
102} // namespace SSM
103} // namespace Aws
DescribeDocumentPermissionResult & AddAccountIds(const char *value)
DescribeDocumentPermissionResult & WithAccountSharingInfoList(Aws::Vector< AccountSharingInfo > &&value)
AWS_SSM_API DescribeDocumentPermissionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDocumentPermissionResult & WithRequestId(Aws::String &&value)
DescribeDocumentPermissionResult & WithRequestId(const char *value)
DescribeDocumentPermissionResult & AddAccountIds(Aws::String &&value)
DescribeDocumentPermissionResult & WithAccountIds(const Aws::Vector< Aws::String > &value)
void SetAccountIds(const Aws::Vector< Aws::String > &value)
DescribeDocumentPermissionResult & AddAccountSharingInfoList(const AccountSharingInfo &value)
DescribeDocumentPermissionResult & WithAccountSharingInfoList(const Aws::Vector< AccountSharingInfo > &value)
DescribeDocumentPermissionResult & AddAccountIds(const Aws::String &value)
AWS_SSM_API DescribeDocumentPermissionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDocumentPermissionResult & AddAccountSharingInfoList(AccountSharingInfo &&value)
DescribeDocumentPermissionResult & WithAccountIds(Aws::Vector< Aws::String > &&value)
void SetAccountSharingInfoList(Aws::Vector< AccountSharingInfo > &&value)
DescribeDocumentPermissionResult & WithRequestId(const Aws::String &value)
const Aws::Vector< AccountSharingInfo > & GetAccountSharingInfoList() const
DescribeDocumentPermissionResult & WithNextToken(const char *value)
DescribeDocumentPermissionResult & WithNextToken(const Aws::String &value)
void SetAccountSharingInfoList(const Aws::Vector< AccountSharingInfo > &value)
DescribeDocumentPermissionResult & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue