AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline DescribedProfile& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline DescribedProfile& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline DescribedProfile& WithArn(const char* value) { SetArn(value); return *this;}
57
59
62 inline const Aws::String& GetProfileId() const{ return m_profileId; }
63 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
64 inline void SetProfileId(const Aws::String& value) { m_profileIdHasBeenSet = true; m_profileId = value; }
65 inline void SetProfileId(Aws::String&& value) { m_profileIdHasBeenSet = true; m_profileId = std::move(value); }
66 inline void SetProfileId(const char* value) { m_profileIdHasBeenSet = true; m_profileId.assign(value); }
67 inline DescribedProfile& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;}
68 inline DescribedProfile& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;}
69 inline DescribedProfile& WithProfileId(const char* value) { SetProfileId(value); return *this;}
71
73
78 inline const ProfileType& GetProfileType() const{ return m_profileType; }
79 inline bool ProfileTypeHasBeenSet() const { return m_profileTypeHasBeenSet; }
80 inline void SetProfileType(const ProfileType& value) { m_profileTypeHasBeenSet = true; m_profileType = value; }
81 inline void SetProfileType(ProfileType&& value) { m_profileTypeHasBeenSet = true; m_profileType = std::move(value); }
82 inline DescribedProfile& WithProfileType(const ProfileType& value) { SetProfileType(value); return *this;}
83 inline DescribedProfile& WithProfileType(ProfileType&& value) { SetProfileType(std::move(value)); return *this;}
85
87
95 inline const Aws::String& GetAs2Id() const{ return m_as2Id; }
96 inline bool As2IdHasBeenSet() const { return m_as2IdHasBeenSet; }
97 inline void SetAs2Id(const Aws::String& value) { m_as2IdHasBeenSet = true; m_as2Id = value; }
98 inline void SetAs2Id(Aws::String&& value) { m_as2IdHasBeenSet = true; m_as2Id = std::move(value); }
99 inline void SetAs2Id(const char* value) { m_as2IdHasBeenSet = true; m_as2Id.assign(value); }
100 inline DescribedProfile& WithAs2Id(const Aws::String& value) { SetAs2Id(value); return *this;}
101 inline DescribedProfile& WithAs2Id(Aws::String&& value) { SetAs2Id(std::move(value)); return *this;}
102 inline DescribedProfile& WithAs2Id(const char* value) { SetAs2Id(value); return *this;}
104
106
110 inline const Aws::Vector<Aws::String>& GetCertificateIds() const{ return m_certificateIds; }
111 inline bool CertificateIdsHasBeenSet() const { return m_certificateIdsHasBeenSet; }
112 inline void SetCertificateIds(const Aws::Vector<Aws::String>& value) { m_certificateIdsHasBeenSet = true; m_certificateIds = value; }
113 inline void SetCertificateIds(Aws::Vector<Aws::String>&& value) { m_certificateIdsHasBeenSet = true; m_certificateIds = std::move(value); }
115 inline DescribedProfile& WithCertificateIds(Aws::Vector<Aws::String>&& value) { SetCertificateIds(std::move(value)); return *this;}
116 inline DescribedProfile& AddCertificateIds(const Aws::String& value) { m_certificateIdsHasBeenSet = true; m_certificateIds.push_back(value); return *this; }
117 inline DescribedProfile& AddCertificateIds(Aws::String&& value) { m_certificateIdsHasBeenSet = true; m_certificateIds.push_back(std::move(value)); return *this; }
118 inline DescribedProfile& AddCertificateIds(const char* value) { m_certificateIdsHasBeenSet = true; m_certificateIds.push_back(value); return *this; }
120
122
125 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
126 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
127 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
128 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
129 inline DescribedProfile& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
130 inline DescribedProfile& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
131 inline DescribedProfile& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
132 inline DescribedProfile& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
134 private:
135
136 Aws::String m_arn;
137 bool m_arnHasBeenSet = false;
138
139 Aws::String m_profileId;
140 bool m_profileIdHasBeenSet = false;
141
142 ProfileType m_profileType;
143 bool m_profileTypeHasBeenSet = false;
144
145 Aws::String m_as2Id;
146 bool m_as2IdHasBeenSet = false;
147
148 Aws::Vector<Aws::String> m_certificateIds;
149 bool m_certificateIdsHasBeenSet = false;
150
151 Aws::Vector<Tag> m_tags;
152 bool m_tagsHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace Transfer
157} // namespace Aws
DescribedProfile & WithAs2Id(const char *value)
const ProfileType & GetProfileType() const
DescribedProfile & WithCertificateIds(Aws::Vector< Aws::String > &&value)
void SetArn(const Aws::String &value)
DescribedProfile & AddCertificateIds(const Aws::String &value)
DescribedProfile & WithProfileId(const char *value)
void SetProfileType(ProfileType &&value)
const Aws::Vector< Aws::String > & GetCertificateIds() const
void SetTags(Aws::Vector< Tag > &&value)
DescribedProfile & AddTags(const Tag &value)
DescribedProfile & WithArn(Aws::String &&value)
DescribedProfile & AddCertificateIds(const char *value)
const Aws::String & GetProfileId() const
DescribedProfile & WithProfileId(Aws::String &&value)
void SetProfileType(const ProfileType &value)
void SetAs2Id(const Aws::String &value)
const Aws::String & GetArn() const
DescribedProfile & WithTags(Aws::Vector< Tag > &&value)
void SetCertificateIds(const Aws::Vector< Aws::String > &value)
void SetProfileId(Aws::String &&value)
void SetProfileId(const Aws::String &value)
AWS_TRANSFER_API DescribedProfile(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
DescribedProfile & WithProfileType(ProfileType &&value)
DescribedProfile & WithProfileType(const ProfileType &value)
DescribedProfile & WithArn(const char *value)
DescribedProfile & AddTags(Tag &&value)
DescribedProfile & WithProfileId(const Aws::String &value)
DescribedProfile & WithTags(const Aws::Vector< Tag > &value)
DescribedProfile & WithAs2Id(const Aws::String &value)
AWS_TRANSFER_API DescribedProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
DescribedProfile & WithAs2Id(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
const Aws::Vector< Tag > & GetTags() const
DescribedProfile & WithCertificateIds(const Aws::Vector< Aws::String > &value)
void SetCertificateIds(Aws::Vector< Aws::String > &&value)
DescribedProfile & AddCertificateIds(Aws::String &&value)
const Aws::String & GetAs2Id() const
DescribedProfile & WithArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue