AWS SDK for C++  1.9.1
AWS SDK for C++
UpdateRadiusRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace DirectoryService
16 {
17 namespace Model
18 {
19 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "UpdateRadius"; }
36 
37  Aws::String SerializePayload() const override;
38 
40 
41 
46  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
47 
52  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
53 
58  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
59 
64  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
65 
70  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
71 
76  inline UpdateRadiusRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
77 
82  inline UpdateRadiusRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
83 
88  inline UpdateRadiusRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
89 
90 
95  inline const RadiusSettings& GetRadiusSettings() const{ return m_radiusSettings; }
96 
101  inline bool RadiusSettingsHasBeenSet() const { return m_radiusSettingsHasBeenSet; }
102 
107  inline void SetRadiusSettings(const RadiusSettings& value) { m_radiusSettingsHasBeenSet = true; m_radiusSettings = value; }
108 
113  inline void SetRadiusSettings(RadiusSettings&& value) { m_radiusSettingsHasBeenSet = true; m_radiusSettings = std::move(value); }
114 
119  inline UpdateRadiusRequest& WithRadiusSettings(const RadiusSettings& value) { SetRadiusSettings(value); return *this;}
120 
125  inline UpdateRadiusRequest& WithRadiusSettings(RadiusSettings&& value) { SetRadiusSettings(std::move(value)); return *this;}
126 
127  private:
128 
129  Aws::String m_directoryId;
130  bool m_directoryIdHasBeenSet;
131 
132  RadiusSettings m_radiusSettings;
133  bool m_radiusSettingsHasBeenSet;
134  };
135 
136 } // namespace Model
137 } // namespace DirectoryService
138 } // namespace Aws
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DirectoryService::Model::UpdateRadiusRequest::WithRadiusSettings
UpdateRadiusRequest & WithRadiusSettings(RadiusSettings &&value)
Definition: UpdateRadiusRequest.h:125
Aws::DirectoryService::Model::UpdateRadiusRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::UpdateRadiusRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateRadiusRequest.h:35
Aws::DirectoryService::Model::UpdateRadiusRequest::GetRadiusSettings
const RadiusSettings & GetRadiusSettings() const
Definition: UpdateRadiusRequest.h:95
Aws::DirectoryService::Model::UpdateRadiusRequest::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: UpdateRadiusRequest.h:70
Aws::DirectoryService::DirectoryServiceRequest
Definition: DirectoryServiceRequest.h:17
Aws::DirectoryService::Model::UpdateRadiusRequest::SetRadiusSettings
void SetRadiusSettings(RadiusSettings &&value)
Definition: UpdateRadiusRequest.h:113
Aws::DirectoryService::Model::UpdateRadiusRequest::SetRadiusSettings
void SetRadiusSettings(const RadiusSettings &value)
Definition: UpdateRadiusRequest.h:107
Aws::DirectoryService::Model::UpdateRadiusRequest::WithDirectoryId
UpdateRadiusRequest & WithDirectoryId(const char *value)
Definition: UpdateRadiusRequest.h:88
Aws::DirectoryService::Model::UpdateRadiusRequest::UpdateRadiusRequest
UpdateRadiusRequest()
Aws::DirectoryService::Model::UpdateRadiusRequest::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: UpdateRadiusRequest.h:46
Aws::DirectoryService::Model::UpdateRadiusRequest
Definition: UpdateRadiusRequest.h:27
Aws::DirectoryService::Model::UpdateRadiusRequest::RadiusSettingsHasBeenSet
bool RadiusSettingsHasBeenSet() const
Definition: UpdateRadiusRequest.h:101
Aws::DirectoryService::Model::RadiusSettings
Definition: RadiusSettings.h:35
AWSString.h
RadiusSettings.h
Aws::DirectoryService::Model::UpdateRadiusRequest::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: UpdateRadiusRequest.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::UpdateRadiusRequest::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: UpdateRadiusRequest.h:52
Aws::DirectoryService::Model::UpdateRadiusRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DirectoryService::Model::UpdateRadiusRequest::WithRadiusSettings
UpdateRadiusRequest & WithRadiusSettings(const RadiusSettings &value)
Definition: UpdateRadiusRequest.h:119
Aws::DirectoryService::Model::UpdateRadiusRequest::WithDirectoryId
UpdateRadiusRequest & WithDirectoryId(Aws::String &&value)
Definition: UpdateRadiusRequest.h:82
Aws::DirectoryService::Model::UpdateRadiusRequest::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: UpdateRadiusRequest.h:64
DirectoryServiceRequest.h
Aws::DirectoryService::Model::UpdateRadiusRequest::WithDirectoryId
UpdateRadiusRequest & WithDirectoryId(const Aws::String &value)
Definition: UpdateRadiusRequest.h:76