AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateProfileRequest.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/TransferRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Transfer
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_TRANSFER_API UpdateProfileRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateProfile"; }
32
33 AWS_TRANSFER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetProfileId() const { return m_profileId; }
43 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
44 template<typename ProfileIdT = Aws::String>
45 void SetProfileId(ProfileIdT&& value) { m_profileIdHasBeenSet = true; m_profileId = std::forward<ProfileIdT>(value); }
46 template<typename ProfileIdT = Aws::String>
47 UpdateProfileRequest& WithProfileId(ProfileIdT&& value) { SetProfileId(std::forward<ProfileIdT>(value)); return *this;}
49
51
55 inline const Aws::Vector<Aws::String>& GetCertificateIds() const { return m_certificateIds; }
56 inline bool CertificateIdsHasBeenSet() const { return m_certificateIdsHasBeenSet; }
57 template<typename CertificateIdsT = Aws::Vector<Aws::String>>
58 void SetCertificateIds(CertificateIdsT&& value) { m_certificateIdsHasBeenSet = true; m_certificateIds = std::forward<CertificateIdsT>(value); }
59 template<typename CertificateIdsT = Aws::Vector<Aws::String>>
60 UpdateProfileRequest& WithCertificateIds(CertificateIdsT&& value) { SetCertificateIds(std::forward<CertificateIdsT>(value)); return *this;}
61 template<typename CertificateIdsT = Aws::String>
62 UpdateProfileRequest& AddCertificateIds(CertificateIdsT&& value) { m_certificateIdsHasBeenSet = true; m_certificateIds.emplace_back(std::forward<CertificateIdsT>(value)); return *this; }
64 private:
65
66 Aws::String m_profileId;
67 bool m_profileIdHasBeenSet = false;
68
69 Aws::Vector<Aws::String> m_certificateIds;
70 bool m_certificateIdsHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Transfer
75} // 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