7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm/SSM_EXPORTS.h>
11#include <aws/ssm/model/AccountSharingInfo.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
38 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
40 m_accountIdsHasBeenSet =
true;
41 m_accountIds = std::forward<AccountIdsT>(value);
43 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
48 template <
typename AccountIdsT = Aws::String>
50 m_accountIdsHasBeenSet =
true;
51 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
62 template <
typename AccountSharingInfoListT = Aws::Vector<AccountSharingInfo>>
64 m_accountSharingInfoListHasBeenSet =
true;
65 m_accountSharingInfoList = std::forward<AccountSharingInfoListT>(value);
67 template <
typename AccountSharingInfoListT = Aws::Vector<AccountSharingInfo>>
72 template <
typename AccountSharingInfoListT = AccountSharingInfo>
74 m_accountSharingInfoListHasBeenSet =
true;
75 m_accountSharingInfoList.emplace_back(std::forward<AccountSharingInfoListT>(value));
86 template <
typename NextTokenT = Aws::String>
88 m_nextTokenHasBeenSet =
true;
89 m_nextToken = std::forward<NextTokenT>(value);
91 template <
typename NextTokenT = Aws::String>
101 template <
typename RequestIdT = Aws::String>
103 m_requestIdHasBeenSet =
true;
104 m_requestId = std::forward<RequestIdT>(value);
106 template <
typename RequestIdT = Aws::String>
123 bool m_accountIdsHasBeenSet =
false;
124 bool m_accountSharingInfoListHasBeenSet =
false;
125 bool m_nextTokenHasBeenSet =
false;
126 bool m_requestIdHasBeenSet =
false;
AWS_SSM_API DescribeDocumentPermissionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
DescribeDocumentPermissionResult & AddAccountIds(AccountIdsT &&value)
DescribeDocumentPermissionResult & WithRequestId(RequestIdT &&value)
void SetAccountSharingInfoList(AccountSharingInfoListT &&value)
DescribeDocumentPermissionResult & WithAccountIds(AccountIdsT &&value)
const Aws::Vector< Aws::String > & GetAccountIds() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
AWS_SSM_API DescribeDocumentPermissionResult()=default
void SetNextToken(NextTokenT &&value)
void SetRequestId(RequestIdT &&value)
AWS_SSM_API DescribeDocumentPermissionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDocumentPermissionResult & AddAccountSharingInfoList(AccountSharingInfoListT &&value)
DescribeDocumentPermissionResult & WithNextToken(NextTokenT &&value)
void SetAccountIds(AccountIdsT &&value)
const Aws::Vector< AccountSharingInfo > & GetAccountSharingInfoList() const
DescribeDocumentPermissionResult & WithAccountSharingInfoList(AccountSharingInfoListT &&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