AWS SDK for C++  1.9.157
AWS SDK for C++
ListProblemsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace ApplicationInsights
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<Problem>& GetProblemList() const{ return m_problemList; }
41 
45  inline void SetProblemList(const Aws::Vector<Problem>& value) { m_problemList = value; }
46 
50  inline void SetProblemList(Aws::Vector<Problem>&& value) { m_problemList = std::move(value); }
51 
55  inline ListProblemsResult& WithProblemList(const Aws::Vector<Problem>& value) { SetProblemList(value); return *this;}
56 
60  inline ListProblemsResult& WithProblemList(Aws::Vector<Problem>&& value) { SetProblemList(std::move(value)); return *this;}
61 
65  inline ListProblemsResult& AddProblemList(const Problem& value) { m_problemList.push_back(value); return *this; }
66 
70  inline ListProblemsResult& AddProblemList(Problem&& value) { m_problemList.push_back(std::move(value)); return *this; }
71 
72 
77  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 
83  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 
89  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 
95  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96 
101  inline ListProblemsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListProblemsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListProblemsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115 
116 
117  inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; }
118 
119 
120  inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupName = value; }
121 
122 
123  inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupName = std::move(value); }
124 
125 
126  inline void SetResourceGroupName(const char* value) { m_resourceGroupName.assign(value); }
127 
128 
129  inline ListProblemsResult& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
130 
131 
132  inline ListProblemsResult& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
133 
134 
135  inline ListProblemsResult& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;}
136 
137  private:
138 
139  Aws::Vector<Problem> m_problemList;
140 
141  Aws::String m_nextToken;
142 
143  Aws::String m_resourceGroupName;
144  };
145 
146 } // namespace Model
147 } // namespace ApplicationInsights
148 } // namespace Aws
Aws::ApplicationInsights::Model::ListProblemsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListProblemsResult.h:77
Aws::ApplicationInsights::Model::Problem
Definition: Problem.h:39
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ApplicationInsights::Model::ListProblemsResult::SetResourceGroupName
void SetResourceGroupName(Aws::String &&value)
Definition: ListProblemsResult.h:123
Aws::ApplicationInsights::Model::ListProblemsResult::SetResourceGroupName
void SetResourceGroupName(const char *value)
Definition: ListProblemsResult.h:126
Aws::ApplicationInsights::Model::ListProblemsResult::WithResourceGroupName
ListProblemsResult & WithResourceGroupName(const Aws::String &value)
Definition: ListProblemsResult.h:129
Aws::ApplicationInsights::Model::ListProblemsResult::SetProblemList
void SetProblemList(const Aws::Vector< Problem > &value)
Definition: ListProblemsResult.h:45
Aws::ApplicationInsights::Model::ListProblemsResult::ListProblemsResult
ListProblemsResult()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Problem.h
AWSVector.h
Aws::ApplicationInsights::Model::ListProblemsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListProblemsResult.h:83
Aws::ApplicationInsights::Model::ListProblemsResult::operator=
ListProblemsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ApplicationInsights::Model::ListProblemsResult::SetProblemList
void SetProblemList(Aws::Vector< Problem > &&value)
Definition: ListProblemsResult.h:50
AWS_APPLICATIONINSIGHTS_API
#define AWS_APPLICATIONINSIGHTS_API
Definition: ApplicationInsights_EXPORTS.h:28
Aws::ApplicationInsights::Model::ListProblemsResult::WithProblemList
ListProblemsResult & WithProblemList(Aws::Vector< Problem > &&value)
Definition: ListProblemsResult.h:60
Aws::ApplicationInsights::Model::ListProblemsResult::SetResourceGroupName
void SetResourceGroupName(const Aws::String &value)
Definition: ListProblemsResult.h:120
Aws::ApplicationInsights::Model::ListProblemsResult::WithResourceGroupName
ListProblemsResult & WithResourceGroupName(Aws::String &&value)
Definition: ListProblemsResult.h:132
Aws::ApplicationInsights::Model::ListProblemsResult::WithNextToken
ListProblemsResult & WithNextToken(const Aws::String &value)
Definition: ListProblemsResult.h:101
Aws::ApplicationInsights::Model::ListProblemsResult::WithProblemList
ListProblemsResult & WithProblemList(const Aws::Vector< Problem > &value)
Definition: ListProblemsResult.h:55
AWSString.h
Aws::ApplicationInsights::Model::ListProblemsResult::AddProblemList
ListProblemsResult & AddProblemList(const Problem &value)
Definition: ListProblemsResult.h:65
Aws::ApplicationInsights::Model::ListProblemsResult::GetResourceGroupName
const Aws::String & GetResourceGroupName() const
Definition: ListProblemsResult.h:117
Aws::ApplicationInsights::Model::ListProblemsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListProblemsResult.h:89
Aws::ApplicationInsights::Model::ListProblemsResult::GetProblemList
const Aws::Vector< Problem > & GetProblemList() const
Definition: ListProblemsResult.h:40
Aws::ApplicationInsights::Model::ListProblemsResult::ListProblemsResult
ListProblemsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ApplicationInsights::Model::ListProblemsResult::WithNextToken
ListProblemsResult & WithNextToken(const char *value)
Definition: ListProblemsResult.h:113
Aws::ApplicationInsights::Model::ListProblemsResult
Definition: ListProblemsResult.h:30
Aws::ApplicationInsights::Model::ListProblemsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListProblemsResult.h:95
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::ApplicationInsights::Model::ListProblemsResult::WithNextToken
ListProblemsResult & WithNextToken(Aws::String &&value)
Definition: ListProblemsResult.h:107
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationInsights::Model::ListProblemsResult::AddProblemList
ListProblemsResult & AddProblemList(Problem &&value)
Definition: ListProblemsResult.h:70
Aws::ApplicationInsights::Model::ListProblemsResult::WithResourceGroupName
ListProblemsResult & WithResourceGroupName(const char *value)
Definition: ListProblemsResult.h:135
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ApplicationInsights_EXPORTS.h