AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateActivationResult.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SSM
24{
25namespace Model
26{
28 {
29 public:
33
34
36
40 inline const Aws::String& GetActivationId() const{ return m_activationId; }
41 inline void SetActivationId(const Aws::String& value) { m_activationId = value; }
42 inline void SetActivationId(Aws::String&& value) { m_activationId = std::move(value); }
43 inline void SetActivationId(const char* value) { m_activationId.assign(value); }
44 inline CreateActivationResult& WithActivationId(const Aws::String& value) { SetActivationId(value); return *this;}
45 inline CreateActivationResult& WithActivationId(Aws::String&& value) { SetActivationId(std::move(value)); return *this;}
46 inline CreateActivationResult& WithActivationId(const char* value) { SetActivationId(value); return *this;}
48
50
54 inline const Aws::String& GetActivationCode() const{ return m_activationCode; }
55 inline void SetActivationCode(const Aws::String& value) { m_activationCode = value; }
56 inline void SetActivationCode(Aws::String&& value) { m_activationCode = std::move(value); }
57 inline void SetActivationCode(const char* value) { m_activationCode.assign(value); }
58 inline CreateActivationResult& WithActivationCode(const Aws::String& value) { SetActivationCode(value); return *this;}
59 inline CreateActivationResult& WithActivationCode(Aws::String&& value) { SetActivationCode(std::move(value)); return *this;}
60 inline CreateActivationResult& WithActivationCode(const char* value) { SetActivationCode(value); return *this;}
62
64
65 inline const Aws::String& GetRequestId() const{ return m_requestId; }
66 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
67 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
68 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
69 inline CreateActivationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
70 inline CreateActivationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
71 inline CreateActivationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
73 private:
74
75 Aws::String m_activationId;
76
77 Aws::String m_activationCode;
78
79 Aws::String m_requestId;
80 };
81
82} // namespace Model
83} // namespace SSM
84} // namespace Aws
void SetRequestId(const Aws::String &value)
CreateActivationResult & WithActivationCode(const Aws::String &value)
CreateActivationResult & WithRequestId(const char *value)
void SetActivationCode(const Aws::String &value)
CreateActivationResult & WithActivationId(const Aws::String &value)
CreateActivationResult & WithRequestId(Aws::String &&value)
CreateActivationResult & WithActivationCode(const char *value)
void SetActivationId(const Aws::String &value)
AWS_SSM_API CreateActivationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateActivationResult & WithActivationCode(Aws::String &&value)
CreateActivationResult & WithActivationId(const char *value)
CreateActivationResult & WithRequestId(const Aws::String &value)
CreateActivationResult & WithActivationId(Aws::String &&value)
AWS_SSM_API CreateActivationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue