AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DescribeActivityResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/states/SFN_EXPORTS.h>
11#include <aws/states/model/EncryptionConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SFN {
25namespace Model {
27 public:
28 AWS_SFN_API DescribeActivityResult() = default;
31
33
36 inline const Aws::String& GetActivityArn() const { return m_activityArn; }
37 template <typename ActivityArnT = Aws::String>
38 void SetActivityArn(ActivityArnT&& value) {
39 m_activityArnHasBeenSet = true;
40 m_activityArn = std::forward<ActivityArnT>(value);
41 }
42 template <typename ActivityArnT = Aws::String>
43 DescribeActivityResult& WithActivityArn(ActivityArnT&& value) {
44 SetActivityArn(std::forward<ActivityArnT>(value));
45 return *this;
46 }
48
50
61 inline const Aws::String& GetName() const { return m_name; }
62 template <typename NameT = Aws::String>
63 void SetName(NameT&& value) {
64 m_nameHasBeenSet = true;
65 m_name = std::forward<NameT>(value);
66 }
67 template <typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
79 template <typename CreationDateT = Aws::Utils::DateTime>
80 void SetCreationDate(CreationDateT&& value) {
81 m_creationDateHasBeenSet = true;
82 m_creationDate = std::forward<CreationDateT>(value);
83 }
84 template <typename CreationDateT = Aws::Utils::DateTime>
85 DescribeActivityResult& WithCreationDate(CreationDateT&& value) {
86 SetCreationDate(std::forward<CreationDateT>(value));
87 return *this;
88 }
90
92
95 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
96 template <typename EncryptionConfigurationT = EncryptionConfiguration>
97 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
98 m_encryptionConfigurationHasBeenSet = true;
99 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
100 }
101 template <typename EncryptionConfigurationT = EncryptionConfiguration>
102 DescribeActivityResult& WithEncryptionConfiguration(EncryptionConfigurationT&& value) {
103 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
104 return *this;
105 }
107
109
110 inline const Aws::String& GetRequestId() const { return m_requestId; }
111 template <typename RequestIdT = Aws::String>
112 void SetRequestId(RequestIdT&& value) {
113 m_requestIdHasBeenSet = true;
114 m_requestId = std::forward<RequestIdT>(value);
115 }
116 template <typename RequestIdT = Aws::String>
118 SetRequestId(std::forward<RequestIdT>(value));
119 return *this;
120 }
122 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
123
124 private:
125 Aws::String m_activityArn;
126
127 Aws::String m_name;
128
129 Aws::Utils::DateTime m_creationDate{};
130
131 EncryptionConfiguration m_encryptionConfiguration;
132
133 Aws::String m_requestId;
134 Aws::Http::HttpResponseCode m_HttpResponseCode;
135 bool m_activityArnHasBeenSet = false;
136 bool m_nameHasBeenSet = false;
137 bool m_creationDateHasBeenSet = false;
138 bool m_encryptionConfigurationHasBeenSet = false;
139 bool m_requestIdHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace SFN
144} // namespace Aws
const EncryptionConfiguration & GetEncryptionConfiguration() const
DescribeActivityResult & WithRequestId(RequestIdT &&value)
DescribeActivityResult & WithActivityArn(ActivityArnT &&value)
DescribeActivityResult & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
DescribeActivityResult & WithName(NameT &&value)
AWS_SFN_API DescribeActivityResult()=default
const Aws::Utils::DateTime & GetCreationDate() const
AWS_SFN_API DescribeActivityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeActivityResult & WithCreationDate(CreationDateT &&value)
AWS_SFN_API DescribeActivityResult(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