AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
35
36
38
41 inline const Aws::String& GetActivityArn() const{ return m_activityArn; }
42 inline void SetActivityArn(const Aws::String& value) { m_activityArn = value; }
43 inline void SetActivityArn(Aws::String&& value) { m_activityArn = std::move(value); }
44 inline void SetActivityArn(const char* value) { m_activityArn.assign(value); }
45 inline DescribeActivityResult& WithActivityArn(const Aws::String& value) { SetActivityArn(value); return *this;}
46 inline DescribeActivityResult& WithActivityArn(Aws::String&& value) { SetActivityArn(std::move(value)); return *this;}
47 inline DescribeActivityResult& WithActivityArn(const char* value) { SetActivityArn(value); return *this;}
49
51
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline void SetName(const Aws::String& value) { m_name = value; }
62 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
63 inline void SetName(const char* value) { m_name.assign(value); }
64 inline DescribeActivityResult& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline DescribeActivityResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline DescribeActivityResult& WithName(const char* value) { SetName(value); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
74 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
75 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
76 inline DescribeActivityResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
77 inline DescribeActivityResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
79
81
84 inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; }
85 inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfiguration = value; }
86 inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfiguration = std::move(value); }
90
92
93 inline const Aws::String& GetRequestId() const{ return m_requestId; }
94 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
95 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
96 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
97 inline DescribeActivityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
98 inline DescribeActivityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
99 inline DescribeActivityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
101 private:
102
103 Aws::String m_activityArn;
104
105 Aws::String m_name;
106
107 Aws::Utils::DateTime m_creationDate;
108
109 EncryptionConfiguration m_encryptionConfiguration;
110
111 Aws::String m_requestId;
112 };
113
114} // namespace Model
115} // namespace SFN
116} // namespace Aws
DescribeActivityResult & WithName(Aws::String &&value)
DescribeActivityResult & WithCreationDate(Aws::Utils::DateTime &&value)
DescribeActivityResult & WithName(const Aws::String &value)
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
DescribeActivityResult & WithActivityArn(Aws::String &&value)
DescribeActivityResult & WithRequestId(const char *value)
void SetCreationDate(Aws::Utils::DateTime &&value)
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
DescribeActivityResult & WithActivityArn(const char *value)
void SetRequestId(const Aws::String &value)
DescribeActivityResult & WithName(const char *value)
void SetCreationDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationDate() const
DescribeActivityResult & WithEncryptionConfiguration(const EncryptionConfiguration &value)
AWS_SFN_API DescribeActivityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeActivityResult & WithRequestId(Aws::String &&value)
DescribeActivityResult & WithRequestId(const Aws::String &value)
DescribeActivityResult & WithEncryptionConfiguration(EncryptionConfiguration &&value)
DescribeActivityResult & WithCreationDate(const Aws::Utils::DateTime &value)
DescribeActivityResult & WithActivityArn(const Aws::String &value)
void SetActivityArn(const Aws::String &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