AWS SDK for C++

AWS SDK for C++ Version 1.11.904

Loading...
Searching...
No Matches
PutAccountSettingsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/evs/EVSRequest.h>
9#include <aws/evs/EVS_EXPORTS.h>
10#include <aws/evs/model/AccountSetting.h>
11
12#include <utility>
13
14namespace Aws {
15namespace EVS {
16namespace Model {
17
25 public:
26 AWS_EVS_API PutAccountSettingsRequest() = default;
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 "PutAccountSettings"; }
33
34 AWS_EVS_API Aws::String SerializePayload() const override;
35
37
39
43 inline const Aws::Vector<AccountSetting>& GetSettings() const { return m_settings; }
44 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
45 template <typename SettingsT = Aws::Vector<AccountSetting>>
46 void SetSettings(SettingsT&& value) {
47 m_settingsHasBeenSet = true;
48 m_settings = std::forward<SettingsT>(value);
49 }
50 template <typename SettingsT = Aws::Vector<AccountSetting>>
52 SetSettings(std::forward<SettingsT>(value));
53 return *this;
54 }
55 template <typename SettingsT = AccountSetting>
57 m_settingsHasBeenSet = true;
58 m_settings.emplace_back(std::forward<SettingsT>(value));
59 return *this;
60 }
62 private:
64 bool m_settingsHasBeenSet = false;
65};
66
67} // namespace Model
68} // namespace EVS
69} // namespace Aws
AWS_EVS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_EVS_API PutAccountSettingsRequest()=default
PutAccountSettingsRequest & AddSettings(SettingsT &&value)
const Aws::Vector< AccountSetting > & GetSettings() const
PutAccountSettingsRequest & WithSettings(SettingsT &&value)
AWS_EVS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
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