AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutParameterResult.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/model/ParameterTier.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 SSM
25{
26namespace Model
27{
29 {
30 public:
31 AWS_SSM_API PutParameterResult();
34
35
37
45 inline long long GetVersion() const{ return m_version; }
46 inline void SetVersion(long long value) { m_version = value; }
47 inline PutParameterResult& WithVersion(long long value) { SetVersion(value); return *this;}
49
51
54 inline const ParameterTier& GetTier() const{ return m_tier; }
55 inline void SetTier(const ParameterTier& value) { m_tier = value; }
56 inline void SetTier(ParameterTier&& value) { m_tier = std::move(value); }
57 inline PutParameterResult& WithTier(const ParameterTier& value) { SetTier(value); return *this;}
58 inline PutParameterResult& WithTier(ParameterTier&& value) { SetTier(std::move(value)); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline PutParameterResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline PutParameterResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline PutParameterResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 long long m_version;
74
75 ParameterTier m_tier;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace SSM
82} // namespace Aws
PutParameterResult & WithRequestId(Aws::String &&value)
PutParameterResult & WithTier(const ParameterTier &value)
void SetTier(const ParameterTier &value)
PutParameterResult & WithRequestId(const char *value)
AWS_SSM_API PutParameterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTier(ParameterTier &&value)
AWS_SSM_API PutParameterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutParameterResult & WithRequestId(const Aws::String &value)
PutParameterResult & WithTier(ParameterTier &&value)
void SetRequestId(const Aws::String &value)
const ParameterTier & GetTier() const
const Aws::String & GetRequestId() const
PutParameterResult & WithVersion(long long value)
void SetRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue