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/Goal.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace DevOpsAgent {
42 template <
typename GoalsT = Aws::Vector<Goal>>
44 m_goalsHasBeenSet =
true;
45 m_goals = std::forward<GoalsT>(value);
47 template <
typename GoalsT = Aws::Vector<Goal>>
49 SetGoals(std::forward<GoalsT>(value));
52 template <
typename GoalsT = Goal>
54 m_goalsHasBeenSet =
true;
55 m_goals.emplace_back(std::forward<GoalsT>(value));
65 template <
typename NextTokenT = Aws::String>
67 m_nextTokenHasBeenSet =
true;
68 m_nextToken = std::forward<NextTokenT>(value);
70 template <
typename NextTokenT = Aws::String>
80 template <
typename RequestIdT = Aws::String>
82 m_requestIdHasBeenSet =
true;
83 m_requestId = std::forward<RequestIdT>(value);
85 template <
typename RequestIdT = Aws::String>
100 bool m_goalsHasBeenSet =
false;
101 bool m_nextTokenHasBeenSet =
false;
102 bool m_requestIdHasBeenSet =
false;
ListGoalsResult & WithGoals(GoalsT &&value)
AWS_DEVOPSAGENT_API ListGoalsResult()=default
const Aws::String & GetNextToken() const
AWS_DEVOPSAGENT_API ListGoalsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
ListGoalsResult & WithRequestId(RequestIdT &&value)
ListGoalsResult & WithNextToken(NextTokenT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
ListGoalsResult & AddGoals(GoalsT &&value)
AWS_DEVOPSAGENT_API ListGoalsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetGoals(GoalsT &&value)
const Aws::Vector< Goal > & GetGoals() const
void SetNextToken(NextTokenT &&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