AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ContactFlowModuleVersionSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect {
20namespace Model {
21
28 public:
29 AWS_CONNECT_API ContactFlowModuleVersionSummary() = default;
32 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetArn() const { return m_arn; }
39 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
40 template <typename ArnT = Aws::String>
41 void SetArn(ArnT&& value) {
42 m_arnHasBeenSet = true;
43 m_arn = std::forward<ArnT>(value);
44 }
45 template <typename ArnT = Aws::String>
47 SetArn(std::forward<ArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetVersionDescription() const { return m_versionDescription; }
57 inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; }
58 template <typename VersionDescriptionT = Aws::String>
59 void SetVersionDescription(VersionDescriptionT&& value) {
60 m_versionDescriptionHasBeenSet = true;
61 m_versionDescription = std::forward<VersionDescriptionT>(value);
62 }
63 template <typename VersionDescriptionT = Aws::String>
65 SetVersionDescription(std::forward<VersionDescriptionT>(value));
66 return *this;
67 }
69
71
74 inline long long GetVersion() const { return m_version; }
75 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
76 inline void SetVersion(long long value) {
77 m_versionHasBeenSet = true;
78 m_version = value;
79 }
81 SetVersion(value);
82 return *this;
83 }
85 private:
86 Aws::String m_arn;
87
88 Aws::String m_versionDescription;
89
90 long long m_version{0};
91 bool m_arnHasBeenSet = false;
92 bool m_versionDescriptionHasBeenSet = false;
93 bool m_versionHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace Connect
98} // namespace Aws
AWS_CONNECT_API ContactFlowModuleVersionSummary(Aws::Utils::Json::JsonView jsonValue)
ContactFlowModuleVersionSummary & WithVersion(long long value)
ContactFlowModuleVersionSummary & WithArn(ArnT &&value)
ContactFlowModuleVersionSummary & WithVersionDescription(VersionDescriptionT &&value)
AWS_CONNECT_API ContactFlowModuleVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API ContactFlowModuleVersionSummary()=default
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue