AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDataRepositoryAssociationRequest.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/FSxRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/fsx/model/S3DataRepositoryConfiguration.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace FSx
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateDataRepositoryAssociation"; }
33
34 AWS_FSX_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
44 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
45 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
46 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
47 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
49 inline UpdateDataRepositoryAssociationRequest& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
50 inline UpdateDataRepositoryAssociationRequest& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
52
54
55 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
56 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
57 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
58 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
59 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
64
66
74 inline int GetImportedFileChunkSize() const{ return m_importedFileChunkSize; }
75 inline bool ImportedFileChunkSizeHasBeenSet() const { return m_importedFileChunkSizeHasBeenSet; }
76 inline void SetImportedFileChunkSize(int value) { m_importedFileChunkSizeHasBeenSet = true; m_importedFileChunkSize = value; }
79
81
88 inline const S3DataRepositoryConfiguration& GetS3() const{ return m_s3; }
89 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
90 inline void SetS3(const S3DataRepositoryConfiguration& value) { m_s3HasBeenSet = true; m_s3 = value; }
91 inline void SetS3(S3DataRepositoryConfiguration&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); }
93 inline UpdateDataRepositoryAssociationRequest& WithS3(S3DataRepositoryConfiguration&& value) { SetS3(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_associationId;
98 bool m_associationIdHasBeenSet = false;
99
100 Aws::String m_clientRequestToken;
101 bool m_clientRequestTokenHasBeenSet = false;
102
103 int m_importedFileChunkSize;
104 bool m_importedFileChunkSizeHasBeenSet = false;
105
107 bool m_s3HasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace FSx
112} // namespace Aws
AWS_FSX_API Aws::String SerializePayload() const override
UpdateDataRepositoryAssociationRequest & WithAssociationId(Aws::String &&value)
UpdateDataRepositoryAssociationRequest & WithClientRequestToken(Aws::String &&value)
UpdateDataRepositoryAssociationRequest & WithAssociationId(const char *value)
UpdateDataRepositoryAssociationRequest & WithS3(S3DataRepositoryConfiguration &&value)
UpdateDataRepositoryAssociationRequest & WithClientRequestToken(const char *value)
UpdateDataRepositoryAssociationRequest & WithImportedFileChunkSize(int value)
UpdateDataRepositoryAssociationRequest & WithAssociationId(const Aws::String &value)
UpdateDataRepositoryAssociationRequest & WithClientRequestToken(const Aws::String &value)
UpdateDataRepositoryAssociationRequest & WithS3(const S3DataRepositoryConfiguration &value)
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String