AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
PutDefaultApplicationSettingRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchServiceRequest.h>
9#include <aws/opensearch/OpenSearchService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace OpenSearchService {
15namespace Model {
16
20 public:
21 AWS_OPENSEARCHSERVICE_API PutDefaultApplicationSettingRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "PutDefaultApplicationSetting"; }
28
29 AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
30
32
33 inline const Aws::String& GetApplicationArn() const { return m_applicationArn; }
34 inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; }
35 template <typename ApplicationArnT = Aws::String>
36 void SetApplicationArn(ApplicationArnT&& value) {
37 m_applicationArnHasBeenSet = true;
38 m_applicationArn = std::forward<ApplicationArnT>(value);
39 }
40 template <typename ApplicationArnT = Aws::String>
42 SetApplicationArn(std::forward<ApplicationArnT>(value));
43 return *this;
44 }
46
48
52 inline bool GetSetAsDefault() const { return m_setAsDefault; }
53 inline bool SetAsDefaultHasBeenSet() const { return m_setAsDefaultHasBeenSet; }
54 inline void SetSetAsDefault(bool value) {
55 m_setAsDefaultHasBeenSet = true;
56 m_setAsDefault = value;
57 }
59 SetSetAsDefault(value);
60 return *this;
61 }
63 private:
64 Aws::String m_applicationArn;
65
66 bool m_setAsDefault{false};
67 bool m_applicationArnHasBeenSet = false;
68 bool m_setAsDefaultHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace OpenSearchService
73} // namespace Aws
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
PutDefaultApplicationSettingRequest & WithApplicationArn(ApplicationArnT &&value)
AWS_OPENSEARCHSERVICE_API PutDefaultApplicationSettingRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String