AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribedProfile.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/awstransfer/model/ProfileType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/awstransfer/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Transfer
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_TRANSFER_API DescribedProfile() = default;
39 AWS_TRANSFER_API DescribedProfile(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const { return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 template<typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
52 template<typename ArnT = Aws::String>
53 DescribedProfile& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetProfileId() const { return m_profileId; }
61 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
62 template<typename ProfileIdT = Aws::String>
63 void SetProfileId(ProfileIdT&& value) { m_profileIdHasBeenSet = true; m_profileId = std::forward<ProfileIdT>(value); }
64 template<typename ProfileIdT = Aws::String>
65 DescribedProfile& WithProfileId(ProfileIdT&& value) { SetProfileId(std::forward<ProfileIdT>(value)); return *this;}
67
69
74 inline ProfileType GetProfileType() const { return m_profileType; }
75 inline bool ProfileTypeHasBeenSet() const { return m_profileTypeHasBeenSet; }
76 inline void SetProfileType(ProfileType value) { m_profileTypeHasBeenSet = true; m_profileType = value; }
77 inline DescribedProfile& WithProfileType(ProfileType value) { SetProfileType(value); return *this;}
79
81
89 inline const Aws::String& GetAs2Id() const { return m_as2Id; }
90 inline bool As2IdHasBeenSet() const { return m_as2IdHasBeenSet; }
91 template<typename As2IdT = Aws::String>
92 void SetAs2Id(As2IdT&& value) { m_as2IdHasBeenSet = true; m_as2Id = std::forward<As2IdT>(value); }
93 template<typename As2IdT = Aws::String>
94 DescribedProfile& WithAs2Id(As2IdT&& value) { SetAs2Id(std::forward<As2IdT>(value)); return *this;}
96
98
102 inline const Aws::Vector<Aws::String>& GetCertificateIds() const { return m_certificateIds; }
103 inline bool CertificateIdsHasBeenSet() const { return m_certificateIdsHasBeenSet; }
104 template<typename CertificateIdsT = Aws::Vector<Aws::String>>
105 void SetCertificateIds(CertificateIdsT&& value) { m_certificateIdsHasBeenSet = true; m_certificateIds = std::forward<CertificateIdsT>(value); }
106 template<typename CertificateIdsT = Aws::Vector<Aws::String>>
107 DescribedProfile& WithCertificateIds(CertificateIdsT&& value) { SetCertificateIds(std::forward<CertificateIdsT>(value)); return *this;}
108 template<typename CertificateIdsT = Aws::String>
109 DescribedProfile& AddCertificateIds(CertificateIdsT&& value) { m_certificateIdsHasBeenSet = true; m_certificateIds.emplace_back(std::forward<CertificateIdsT>(value)); return *this; }
111
113
116 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
117 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
118 template<typename TagsT = Aws::Vector<Tag>>
119 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
120 template<typename TagsT = Aws::Vector<Tag>>
121 DescribedProfile& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
122 template<typename TagsT = Tag>
123 DescribedProfile& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
125 private:
126
127 Aws::String m_arn;
128 bool m_arnHasBeenSet = false;
129
130 Aws::String m_profileId;
131 bool m_profileIdHasBeenSet = false;
132
133 ProfileType m_profileType{ProfileType::NOT_SET};
134 bool m_profileTypeHasBeenSet = false;
135
136 Aws::String m_as2Id;
137 bool m_as2IdHasBeenSet = false;
138
139 Aws::Vector<Aws::String> m_certificateIds;
140 bool m_certificateIdsHasBeenSet = false;
141
142 Aws::Vector<Tag> m_tags;
143 bool m_tagsHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace Transfer
148} // namespace Aws
DescribedProfile & WithProfileId(ProfileIdT &&value)
DescribedProfile & WithArn(ArnT &&value)
AWS_TRANSFER_API DescribedProfile()=default
const Aws::Vector< Aws::String > & GetCertificateIds() const
DescribedProfile & AddCertificateIds(CertificateIdsT &&value)
DescribedProfile & WithAs2Id(As2IdT &&value)
const Aws::String & GetProfileId() const
const Aws::String & GetArn() const
DescribedProfile & WithCertificateIds(CertificateIdsT &&value)
DescribedProfile & AddTags(TagsT &&value)
AWS_TRANSFER_API DescribedProfile(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
DescribedProfile & WithTags(TagsT &&value)
DescribedProfile & WithProfileType(ProfileType value)
void SetCertificateIds(CertificateIdsT &&value)
AWS_TRANSFER_API DescribedProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetAs2Id() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue