AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetTaxRegistrationDocumentRequest.h
1
6#pragma once
7#include <aws/taxsettings/TaxSettingsRequest.h>
8#include <aws/taxsettings/TaxSettings_EXPORTS.h>
9#include <aws/taxsettings/model/DestinationS3Location.h>
10#include <aws/taxsettings/model/TaxDocumentMetadata.h>
11
12#include <utility>
13
14namespace Aws {
15namespace TaxSettings {
16namespace Model {
17
21 public:
22 AWS_TAXSETTINGS_API GetTaxRegistrationDocumentRequest() = 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 "GetTaxRegistrationDocument"; }
29
30 AWS_TAXSETTINGS_API Aws::String SerializePayload() const override;
31
33
36 inline const DestinationS3Location& GetDestinationS3Location() const { return m_destinationS3Location; }
37 inline bool DestinationS3LocationHasBeenSet() const { return m_destinationS3LocationHasBeenSet; }
38 template <typename DestinationS3LocationT = DestinationS3Location>
39 void SetDestinationS3Location(DestinationS3LocationT&& value) {
40 m_destinationS3LocationHasBeenSet = true;
41 m_destinationS3Location = std::forward<DestinationS3LocationT>(value);
42 }
43 template <typename DestinationS3LocationT = DestinationS3Location>
45 SetDestinationS3Location(std::forward<DestinationS3LocationT>(value));
46 return *this;
47 }
49
51
54 inline const TaxDocumentMetadata& GetTaxDocumentMetadata() const { return m_taxDocumentMetadata; }
55 inline bool TaxDocumentMetadataHasBeenSet() const { return m_taxDocumentMetadataHasBeenSet; }
56 template <typename TaxDocumentMetadataT = TaxDocumentMetadata>
57 void SetTaxDocumentMetadata(TaxDocumentMetadataT&& value) {
58 m_taxDocumentMetadataHasBeenSet = true;
59 m_taxDocumentMetadata = std::forward<TaxDocumentMetadataT>(value);
60 }
61 template <typename TaxDocumentMetadataT = TaxDocumentMetadata>
63 SetTaxDocumentMetadata(std::forward<TaxDocumentMetadataT>(value));
64 return *this;
65 }
67 private:
68 DestinationS3Location m_destinationS3Location;
69
70 TaxDocumentMetadata m_taxDocumentMetadata;
71 bool m_destinationS3LocationHasBeenSet = false;
72 bool m_taxDocumentMetadataHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace TaxSettings
77} // namespace Aws
AWS_TAXSETTINGS_API GetTaxRegistrationDocumentRequest()=default
GetTaxRegistrationDocumentRequest & WithDestinationS3Location(DestinationS3LocationT &&value)
AWS_TAXSETTINGS_API Aws::String SerializePayload() const override
GetTaxRegistrationDocumentRequest & WithTaxDocumentMetadata(TaxDocumentMetadataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String