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>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
43 template<
typename AccountIdsT = Aws::Vector<Aws::String>>
44 void SetAccountIds(AccountIdsT&& value) { m_accountIdsHasBeenSet =
true; m_accountIds = std::forward<AccountIdsT>(value); }
45 template<
typename AccountIdsT = Aws::Vector<Aws::String>>
47 template<
typename AccountIdsT = Aws::String>
57 template<
typename AccountSharingInfoListT = Aws::Vector<AccountSharingInfo>>
58 void SetAccountSharingInfoList(AccountSharingInfoListT&& value) { m_accountSharingInfoListHasBeenSet =
true; m_accountSharingInfoList = std::forward<AccountSharingInfoListT>(value); }
59 template<
typename AccountSharingInfoListT = Aws::Vector<AccountSharingInfo>>
61 template<
typename AccountSharingInfoListT = AccountSharingInfo>
71 template<
typename NextTokenT = Aws::String>
72 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
73 template<
typename NextTokenT = Aws::String>
80 template<
typename RequestIdT = Aws::String>
81 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
82 template<
typename RequestIdT = Aws::String>
88 bool m_accountIdsHasBeenSet =
false;
91 bool m_accountSharingInfoListHasBeenSet =
false;
94 bool m_nextTokenHasBeenSet =
false;
97 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