AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfigureAgentResult.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/codeguruprofiler/model/AgentConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CodeGuruProfiler
25{
26namespace Model
27{
35 {
36 public:
37 AWS_CODEGURUPROFILER_API ConfigureAgentResult();
40
41
43
49 inline const AgentConfiguration& GetConfiguration() const{ return m_configuration; }
50 inline void SetConfiguration(const AgentConfiguration& value) { m_configuration = value; }
51 inline void SetConfiguration(AgentConfiguration&& value) { m_configuration = std::move(value); }
52 inline ConfigureAgentResult& WithConfiguration(const AgentConfiguration& value) { SetConfiguration(value); return *this;}
53 inline ConfigureAgentResult& WithConfiguration(AgentConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
55
57
58 inline const Aws::String& GetRequestId() const{ return m_requestId; }
59 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
60 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
61 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
62 inline ConfigureAgentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
63 inline ConfigureAgentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
64 inline ConfigureAgentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
66 private:
67
68 AgentConfiguration m_configuration;
69
70 Aws::String m_requestId;
71 };
72
73} // namespace Model
74} // namespace CodeGuruProfiler
75} // namespace Aws
ConfigureAgentResult & WithRequestId(const char *value)
void SetConfiguration(const AgentConfiguration &value)
ConfigureAgentResult & WithConfiguration(AgentConfiguration &&value)
ConfigureAgentResult & WithRequestId(Aws::String &&value)
AWS_CODEGURUPROFILER_API ConfigureAgentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODEGURUPROFILER_API ConfigureAgentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ConfigureAgentResult & WithConfiguration(const AgentConfiguration &value)
const AgentConfiguration & GetConfiguration() const
ConfigureAgentResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue