7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ssm/SSM_EXPORTS.h>
10#include <aws/ssm/model/AccountSharingInfo.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
37 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
39 m_accountIdsHasBeenSet =
true;
40 m_accountIds = std::forward<AccountIdsT>(value);
42 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
47 template <
typename AccountIdsT = Aws::String>
49 m_accountIdsHasBeenSet =
true;
50 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
61 template <
typename AccountSharingInfoListT = Aws::Vector<AccountSharingInfo>>
63 m_accountSharingInfoListHasBeenSet =
true;
64 m_accountSharingInfoList = std::forward<AccountSharingInfoListT>(value);
66 template <
typename AccountSharingInfoListT = Aws::Vector<AccountSharingInfo>>
71 template <
typename AccountSharingInfoListT = AccountSharingInfo>
73 m_accountSharingInfoListHasBeenSet =
true;
74 m_accountSharingInfoList.emplace_back(std::forward<AccountSharingInfoListT>(value));
85 template <
typename NextTokenT = Aws::String>
87 m_nextTokenHasBeenSet =
true;
88 m_nextToken = std::forward<NextTokenT>(value);
90 template <
typename NextTokenT = Aws::String>
100 template <
typename RequestIdT = Aws::String>
102 m_requestIdHasBeenSet =
true;
103 m_requestId = std::forward<RequestIdT>(value);
105 template <
typename RequestIdT = Aws::String>
119 bool m_accountIdsHasBeenSet =
false;
120 bool m_accountSharingInfoListHasBeenSet =
false;
121 bool m_nextTokenHasBeenSet =
false;
122 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
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