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/devops-agent/DevOpsAgent_EXPORTS.h>
11#include <aws/devops-agent/model/Association.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace DevOpsAgent {
43 template <
typename NextTokenT = Aws::String>
45 m_nextTokenHasBeenSet =
true;
46 m_nextToken = std::forward<NextTokenT>(value);
48 template <
typename NextTokenT = Aws::String>
60 template <
typename AssociationsT = Aws::Vector<Association>>
62 m_associationsHasBeenSet =
true;
63 m_associations = std::forward<AssociationsT>(value);
65 template <
typename AssociationsT = Aws::Vector<Association>>
70 template <
typename AssociationsT = Association>
72 m_associationsHasBeenSet =
true;
73 m_associations.emplace_back(std::forward<AssociationsT>(value));
81 template <
typename RequestIdT = Aws::String>
83 m_requestIdHasBeenSet =
true;
84 m_requestId = std::forward<RequestIdT>(value);
86 template <
typename RequestIdT = Aws::String>
101 bool m_nextTokenHasBeenSet =
false;
102 bool m_associationsHasBeenSet =
false;
103 bool m_requestIdHasBeenSet =
false;
ListAssociationsResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< Association > & GetAssociations() const
void SetRequestId(RequestIdT &&value)
AWS_DEVOPSAGENT_API ListAssociationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListAssociationsResult & AddAssociations(AssociationsT &&value)
ListAssociationsResult & WithAssociations(AssociationsT &&value)
void SetNextToken(NextTokenT &&value)
void SetAssociations(AssociationsT &&value)
ListAssociationsResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
AWS_DEVOPSAGENT_API ListAssociationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DEVOPSAGENT_API ListAssociationsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue