AWS SDK for C++

AWS SDK for C++ Version 1.11.687

Loading...
Searching...
No Matches
UpdateProfileRequest.h
1
6#pragma once
7#include <aws/awstransfer/TransferRequest.h>
8#include <aws/awstransfer/Transfer_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Transfer {
16namespace Model {
17
21 public:
22 AWS_TRANSFER_API UpdateProfileRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateProfile"; }
29
30 AWS_TRANSFER_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetProfileId() const { return m_profileId; }
39 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
40 template <typename ProfileIdT = Aws::String>
41 void SetProfileId(ProfileIdT&& value) {
42 m_profileIdHasBeenSet = true;
43 m_profileId = std::forward<ProfileIdT>(value);
44 }
45 template <typename ProfileIdT = Aws::String>
46 UpdateProfileRequest& WithProfileId(ProfileIdT&& value) {
47 SetProfileId(std::forward<ProfileIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::Vector<Aws::String>& GetCertificateIds() const { return m_certificateIds; }
58 inline bool CertificateIdsHasBeenSet() const { return m_certificateIdsHasBeenSet; }
59 template <typename CertificateIdsT = Aws::Vector<Aws::String>>
60 void SetCertificateIds(CertificateIdsT&& value) {
61 m_certificateIdsHasBeenSet = true;
62 m_certificateIds = std::forward<CertificateIdsT>(value);
63 }
64 template <typename CertificateIdsT = Aws::Vector<Aws::String>>
65 UpdateProfileRequest& WithCertificateIds(CertificateIdsT&& value) {
66 SetCertificateIds(std::forward<CertificateIdsT>(value));
67 return *this;
68 }
69 template <typename CertificateIdsT = Aws::String>
70 UpdateProfileRequest& AddCertificateIds(CertificateIdsT&& value) {
71 m_certificateIdsHasBeenSet = true;
72 m_certificateIds.emplace_back(std::forward<CertificateIdsT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_profileId;
78 bool m_profileIdHasBeenSet = false;
79
80 Aws::Vector<Aws::String> m_certificateIds;
81 bool m_certificateIdsHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace Transfer
86} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateProfileRequest & WithProfileId(ProfileIdT &&value)
void SetCertificateIds(CertificateIdsT &&value)
AWS_TRANSFER_API Aws::String SerializePayload() const override
AWS_TRANSFER_API UpdateProfileRequest()=default
const Aws::Vector< Aws::String > & GetCertificateIds() const
UpdateProfileRequest & WithCertificateIds(CertificateIdsT &&value)
UpdateProfileRequest & AddCertificateIds(CertificateIdsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector