AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListProfileTimesResult.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codeguruprofiler/model/ProfileTime.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 CodeGuruProfiler
26{
27namespace Model
28{
36 {
37 public:
38 AWS_CODEGURUPROFILER_API ListProfileTimesResult();
41
42
44
51 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
52 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
53 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
54 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
55 inline ListProfileTimesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
56 inline ListProfileTimesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
57 inline ListProfileTimesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
59
61
65 inline const Aws::Vector<ProfileTime>& GetProfileTimes() const{ return m_profileTimes; }
66 inline void SetProfileTimes(const Aws::Vector<ProfileTime>& value) { m_profileTimes = value; }
67 inline void SetProfileTimes(Aws::Vector<ProfileTime>&& value) { m_profileTimes = std::move(value); }
69 inline ListProfileTimesResult& WithProfileTimes(Aws::Vector<ProfileTime>&& value) { SetProfileTimes(std::move(value)); return *this;}
70 inline ListProfileTimesResult& AddProfileTimes(const ProfileTime& value) { m_profileTimes.push_back(value); return *this; }
71 inline ListProfileTimesResult& AddProfileTimes(ProfileTime&& value) { m_profileTimes.push_back(std::move(value)); return *this; }
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline ListProfileTimesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline ListProfileTimesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline ListProfileTimesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::String m_nextToken;
87
88 Aws::Vector<ProfileTime> m_profileTimes;
89
90 Aws::String m_requestId;
91 };
92
93} // namespace Model
94} // namespace CodeGuruProfiler
95} // namespace Aws
ListProfileTimesResult & WithRequestId(Aws::String &&value)
AWS_CODEGURUPROFILER_API ListProfileTimesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListProfileTimesResult & WithRequestId(const Aws::String &value)
ListProfileTimesResult & WithNextToken(Aws::String &&value)
ListProfileTimesResult & WithProfileTimes(const Aws::Vector< ProfileTime > &value)
void SetProfileTimes(Aws::Vector< ProfileTime > &&value)
ListProfileTimesResult & WithNextToken(const char *value)
ListProfileTimesResult & WithProfileTimes(Aws::Vector< ProfileTime > &&value)
AWS_CODEGURUPROFILER_API ListProfileTimesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListProfileTimesResult & AddProfileTimes(ProfileTime &&value)
void SetProfileTimes(const Aws::Vector< ProfileTime > &value)
ListProfileTimesResult & AddProfileTimes(const ProfileTime &value)
ListProfileTimesResult & WithRequestId(const char *value)
const Aws::Vector< ProfileTime > & GetProfileTimes() const
ListProfileTimesResult & WithNextToken(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