7#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/application-insights/model/Problem.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace ApplicationInsights
42 template<
typename ProblemListT = Aws::Vector<Problem>>
43 void SetProblemList(ProblemListT&& value) { m_problemListHasBeenSet =
true; m_problemList = std::forward<ProblemListT>(value); }
44 template<
typename ProblemListT = Aws::Vector<Problem>>
46 template<
typename ProblemListT = Problem>
47 ListProblemsResult&
AddProblemList(ProblemListT&& value) { m_problemListHasBeenSet =
true; m_problemList.emplace_back(std::forward<ProblemListT>(value));
return *
this; }
56 template<
typename NextTokenT = Aws::String>
57 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
58 template<
typename NextTokenT = Aws::String>
67 template<
typename ResourceGroupNameT = Aws::String>
68 void SetResourceGroupName(ResourceGroupNameT&& value) { m_resourceGroupNameHasBeenSet =
true; m_resourceGroupName = std::forward<ResourceGroupNameT>(value); }
69 template<
typename ResourceGroupNameT = Aws::String>
78 template<
typename AccountIdT = Aws::String>
79 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
80 template<
typename AccountIdT = Aws::String>
87 template<
typename RequestIdT = Aws::String>
88 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
89 template<
typename RequestIdT = Aws::String>
95 bool m_problemListHasBeenSet =
false;
98 bool m_nextTokenHasBeenSet =
false;
101 bool m_resourceGroupNameHasBeenSet =
false;
104 bool m_accountIdHasBeenSet =
false;
107 bool m_requestIdHasBeenSet =
false;
AWS_APPLICATIONINSIGHTS_API ListProblemsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetAccountId() const
ListProblemsResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
void SetProblemList(ProblemListT &&value)
void SetNextToken(NextTokenT &&value)
const Aws::Vector< Problem > & GetProblemList() const
ListProblemsResult & WithProblemList(ProblemListT &&value)
ListProblemsResult & WithResourceGroupName(ResourceGroupNameT &&value)
AWS_APPLICATIONINSIGHTS_API ListProblemsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
void SetResourceGroupName(ResourceGroupNameT &&value)
const Aws::String & GetResourceGroupName() const
ListProblemsResult & WithAccountId(AccountIdT &&value)
ListProblemsResult & WithNextToken(NextTokenT &&value)
AWS_APPLICATIONINSIGHTS_API ListProblemsResult()=default
ListProblemsResult & AddProblemList(ProblemListT &&value)
void SetAccountId(AccountIdT &&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