AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListProblemsResult.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ApplicationInsights
26{
27namespace Model
28{
30 {
31 public:
32 AWS_APPLICATIONINSIGHTS_API ListProblemsResult() = default;
35
36
38
41 inline const Aws::Vector<Problem>& GetProblemList() const { return m_problemList; }
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>>
45 ListProblemsResult& WithProblemList(ProblemListT&& value) { SetProblemList(std::forward<ProblemListT>(value)); return *this;}
46 template<typename ProblemListT = Problem>
47 ListProblemsResult& AddProblemList(ProblemListT&& value) { m_problemListHasBeenSet = true; m_problemList.emplace_back(std::forward<ProblemListT>(value)); return *this; }
49
51
55 inline const Aws::String& GetNextToken() const { return m_nextToken; }
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>
59 ListProblemsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
61
63
66 inline const Aws::String& GetResourceGroupName() const { return m_resourceGroupName; }
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>
70 ListProblemsResult& WithResourceGroupName(ResourceGroupNameT&& value) { SetResourceGroupName(std::forward<ResourceGroupNameT>(value)); return *this;}
72
74
77 inline const Aws::String& GetAccountId() const { return m_accountId; }
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>
81 ListProblemsResult& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
83
85
86 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
90 ListProblemsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
92 private:
93
94 Aws::Vector<Problem> m_problemList;
95 bool m_problemListHasBeenSet = false;
96
97 Aws::String m_nextToken;
98 bool m_nextTokenHasBeenSet = false;
99
100 Aws::String m_resourceGroupName;
101 bool m_resourceGroupNameHasBeenSet = false;
102
103 Aws::String m_accountId;
104 bool m_accountIdHasBeenSet = false;
105
106 Aws::String m_requestId;
107 bool m_requestIdHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ApplicationInsights
112} // namespace Aws
AWS_APPLICATIONINSIGHTS_API ListProblemsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListProblemsResult & WithRequestId(RequestIdT &&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)
void SetResourceGroupName(ResourceGroupNameT &&value)
ListProblemsResult & WithAccountId(AccountIdT &&value)
ListProblemsResult & WithNextToken(NextTokenT &&value)
AWS_APPLICATIONINSIGHTS_API ListProblemsResult()=default
ListProblemsResult & AddProblemList(ProblemListT &&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