AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeActivityResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/states/SFN_EXPORTS.h>
10#include <aws/states/model/EncryptionConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SFN {
24namespace Model {
26 public:
27 AWS_SFN_API DescribeActivityResult() = default;
30
32
35 inline const Aws::String& GetActivityArn() const { return m_activityArn; }
36 template <typename ActivityArnT = Aws::String>
37 void SetActivityArn(ActivityArnT&& value) {
38 m_activityArnHasBeenSet = true;
39 m_activityArn = std::forward<ActivityArnT>(value);
40 }
41 template <typename ActivityArnT = Aws::String>
42 DescribeActivityResult& WithActivityArn(ActivityArnT&& value) {
43 SetActivityArn(std::forward<ActivityArnT>(value));
44 return *this;
45 }
47
49
60 inline const Aws::String& GetName() const { return m_name; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
78 template <typename CreationDateT = Aws::Utils::DateTime>
79 void SetCreationDate(CreationDateT&& value) {
80 m_creationDateHasBeenSet = true;
81 m_creationDate = std::forward<CreationDateT>(value);
82 }
83 template <typename CreationDateT = Aws::Utils::DateTime>
84 DescribeActivityResult& WithCreationDate(CreationDateT&& value) {
85 SetCreationDate(std::forward<CreationDateT>(value));
86 return *this;
87 }
89
91
94 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
95 template <typename EncryptionConfigurationT = EncryptionConfiguration>
96 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
97 m_encryptionConfigurationHasBeenSet = true;
98 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
99 }
100 template <typename EncryptionConfigurationT = EncryptionConfiguration>
101 DescribeActivityResult& WithEncryptionConfiguration(EncryptionConfigurationT&& value) {
102 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
103 return *this;
104 }
106
108
109 inline const Aws::String& GetRequestId() const { return m_requestId; }
110 template <typename RequestIdT = Aws::String>
111 void SetRequestId(RequestIdT&& value) {
112 m_requestIdHasBeenSet = true;
113 m_requestId = std::forward<RequestIdT>(value);
114 }
115 template <typename RequestIdT = Aws::String>
117 SetRequestId(std::forward<RequestIdT>(value));
118 return *this;
119 }
121 private:
122 Aws::String m_activityArn;
123
124 Aws::String m_name;
125
126 Aws::Utils::DateTime m_creationDate{};
127
128 EncryptionConfiguration m_encryptionConfiguration;
129
130 Aws::String m_requestId;
131 bool m_activityArnHasBeenSet = false;
132 bool m_nameHasBeenSet = false;
133 bool m_creationDateHasBeenSet = false;
134 bool m_encryptionConfigurationHasBeenSet = false;
135 bool m_requestIdHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace SFN
140} // 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)
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