AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Aws::Vector<Problem>& GetProblemList() const{ return m_problemList; }
42 inline void SetProblemList(const Aws::Vector<Problem>& value) { m_problemList = value; }
43 inline void SetProblemList(Aws::Vector<Problem>&& value) { m_problemList = std::move(value); }
44 inline ListProblemsResult& WithProblemList(const Aws::Vector<Problem>& value) { SetProblemList(value); return *this;}
45 inline ListProblemsResult& WithProblemList(Aws::Vector<Problem>&& value) { SetProblemList(std::move(value)); return *this;}
46 inline ListProblemsResult& AddProblemList(const Problem& value) { m_problemList.push_back(value); return *this; }
47 inline ListProblemsResult& AddProblemList(Problem&& value) { m_problemList.push_back(std::move(value)); return *this; }
49
51
55 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
56 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
57 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
58 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
59 inline ListProblemsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
60 inline ListProblemsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
61 inline ListProblemsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
63
65
68 inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; }
69 inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupName = value; }
70 inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupName = std::move(value); }
71 inline void SetResourceGroupName(const char* value) { m_resourceGroupName.assign(value); }
72 inline ListProblemsResult& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
73 inline ListProblemsResult& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
74 inline ListProblemsResult& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;}
76
78
81 inline const Aws::String& GetAccountId() const{ return m_accountId; }
82 inline void SetAccountId(const Aws::String& value) { m_accountId = value; }
83 inline void SetAccountId(Aws::String&& value) { m_accountId = std::move(value); }
84 inline void SetAccountId(const char* value) { m_accountId.assign(value); }
85 inline ListProblemsResult& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
86 inline ListProblemsResult& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
87 inline ListProblemsResult& WithAccountId(const char* value) { SetAccountId(value); return *this;}
89
91
92 inline const Aws::String& GetRequestId() const{ return m_requestId; }
93 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
94 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
95 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
96 inline ListProblemsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
97 inline ListProblemsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
98 inline ListProblemsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
100 private:
101
102 Aws::Vector<Problem> m_problemList;
103
104 Aws::String m_nextToken;
105
106 Aws::String m_resourceGroupName;
107
108 Aws::String m_accountId;
109
110 Aws::String m_requestId;
111 };
112
113} // namespace Model
114} // namespace ApplicationInsights
115} // namespace Aws
ListProblemsResult & WithRequestId(Aws::String &&value)
ListProblemsResult & AddProblemList(Problem &&value)
ListProblemsResult & WithProblemList(const Aws::Vector< Problem > &value)
AWS_APPLICATIONINSIGHTS_API ListProblemsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListProblemsResult & WithRequestId(const char *value)
const Aws::Vector< Problem > & GetProblemList() const
void SetProblemList(const Aws::Vector< Problem > &value)
ListProblemsResult & WithResourceGroupName(const char *value)
AWS_APPLICATIONINSIGHTS_API ListProblemsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListProblemsResult & WithNextToken(const char *value)
void SetProblemList(Aws::Vector< Problem > &&value)
ListProblemsResult & WithAccountId(const char *value)
ListProblemsResult & WithAccountId(const Aws::String &value)
ListProblemsResult & WithProblemList(Aws::Vector< Problem > &&value)
ListProblemsResult & AddProblemList(const Problem &value)
AWS_APPLICATIONINSIGHTS_API ListProblemsResult()
ListProblemsResult & WithAccountId(Aws::String &&value)
ListProblemsResult & WithNextToken(const Aws::String &value)
ListProblemsResult & WithNextToken(Aws::String &&value)
ListProblemsResult & WithResourceGroupName(Aws::String &&value)
ListProblemsResult & WithRequestId(const Aws::String &value)
ListProblemsResult & WithResourceGroupName(const Aws::String &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