AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeActivityResult.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/states/model/EncryptionConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SFN
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SFN_API DescribeActivityResult() = default;
35
36
38
41 inline const Aws::String& GetActivityArn() const { return m_activityArn; }
42 template<typename ActivityArnT = Aws::String>
43 void SetActivityArn(ActivityArnT&& value) { m_activityArnHasBeenSet = true; m_activityArn = std::forward<ActivityArnT>(value); }
44 template<typename ActivityArnT = Aws::String>
45 DescribeActivityResult& WithActivityArn(ActivityArnT&& value) { SetActivityArn(std::forward<ActivityArnT>(value)); return *this;}
47
49
60 inline const Aws::String& GetName() const { return m_name; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 DescribeActivityResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
72 template<typename CreationDateT = Aws::Utils::DateTime>
73 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
74 template<typename CreationDateT = Aws::Utils::DateTime>
75 DescribeActivityResult& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
77
79
82 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
83 template<typename EncryptionConfigurationT = EncryptionConfiguration>
84 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
85 template<typename EncryptionConfigurationT = EncryptionConfiguration>
86 DescribeActivityResult& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
88
90
91 inline const Aws::String& GetRequestId() const { return m_requestId; }
92 template<typename RequestIdT = Aws::String>
93 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
94 template<typename RequestIdT = Aws::String>
95 DescribeActivityResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
97 private:
98
99 Aws::String m_activityArn;
100 bool m_activityArnHasBeenSet = false;
101
102 Aws::String m_name;
103 bool m_nameHasBeenSet = false;
104
105 Aws::Utils::DateTime m_creationDate{};
106 bool m_creationDateHasBeenSet = false;
107
108 EncryptionConfiguration m_encryptionConfiguration;
109 bool m_encryptionConfigurationHasBeenSet = false;
110
111 Aws::String m_requestId;
112 bool m_requestIdHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace SFN
117} // 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