AWS SDK for C++  1.9.16
AWS SDK for C++
EnableRadiusRequest.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 "EnableRadius"; }
36 
37  Aws::String SerializePayload() const override;
38 
40 
41 
45  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
46 
50  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
51 
55  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
56 
60  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
61 
65  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
66 
70  inline EnableRadiusRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
71 
75  inline EnableRadiusRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
76 
80  inline EnableRadiusRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
81 
82 
87  inline const RadiusSettings& GetRadiusSettings() const{ return m_radiusSettings; }
88 
93  inline bool RadiusSettingsHasBeenSet() const { return m_radiusSettingsHasBeenSet; }
94 
99  inline void SetRadiusSettings(const RadiusSettings& value) { m_radiusSettingsHasBeenSet = true; m_radiusSettings = value; }
100 
105  inline void SetRadiusSettings(RadiusSettings&& value) { m_radiusSettingsHasBeenSet = true; m_radiusSettings = std::move(value); }
106 
111  inline EnableRadiusRequest& WithRadiusSettings(const RadiusSettings& value) { SetRadiusSettings(value); return *this;}
112 
117  inline EnableRadiusRequest& WithRadiusSettings(RadiusSettings&& value) { SetRadiusSettings(std::move(value)); return *this;}
118 
119  private:
120 
121  Aws::String m_directoryId;
122  bool m_directoryIdHasBeenSet;
123 
124  RadiusSettings m_radiusSettings;
125  bool m_radiusSettingsHasBeenSet;
126  };
127 
128 } // namespace Model
129 } // namespace DirectoryService
130 } // namespace Aws
Aws::DirectoryService::Model::EnableRadiusRequest::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: EnableRadiusRequest.h:65
Aws::DirectoryService::Model::EnableRadiusRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DirectoryService::Model::EnableRadiusRequest::WithDirectoryId
EnableRadiusRequest & WithDirectoryId(Aws::String &&value)
Definition: EnableRadiusRequest.h:75
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::EnableRadiusRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: EnableRadiusRequest.h:35
Aws::DirectoryService::Model::EnableRadiusRequest::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: EnableRadiusRequest.h:50
Aws::DirectoryService::Model::EnableRadiusRequest::RadiusSettingsHasBeenSet
bool RadiusSettingsHasBeenSet() const
Definition: EnableRadiusRequest.h:93
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::EnableRadiusRequest::WithDirectoryId
EnableRadiusRequest & WithDirectoryId(const char *value)
Definition: EnableRadiusRequest.h:80
Aws::DirectoryService::Model::EnableRadiusRequest::EnableRadiusRequest
EnableRadiusRequest()
Aws::DirectoryService::DirectoryServiceRequest
Definition: DirectoryServiceRequest.h:17
Aws::DirectoryService::Model::EnableRadiusRequest::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: EnableRadiusRequest.h:55
Aws::DirectoryService::Model::EnableRadiusRequest
Definition: EnableRadiusRequest.h:27
Aws::DirectoryService::Model::EnableRadiusRequest::WithDirectoryId
EnableRadiusRequest & WithDirectoryId(const Aws::String &value)
Definition: EnableRadiusRequest.h:70
Aws::DirectoryService::Model::RadiusSettings
Definition: RadiusSettings.h:35
Aws::DirectoryService::Model::EnableRadiusRequest::WithRadiusSettings
EnableRadiusRequest & WithRadiusSettings(const RadiusSettings &value)
Definition: EnableRadiusRequest.h:111
AWSString.h
Aws::DirectoryService::Model::EnableRadiusRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DirectoryService::Model::EnableRadiusRequest::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: EnableRadiusRequest.h:60
RadiusSettings.h
Aws::DirectoryService::Model::EnableRadiusRequest::SetRadiusSettings
void SetRadiusSettings(const RadiusSettings &value)
Definition: EnableRadiusRequest.h:99
Aws::DirectoryService::Model::EnableRadiusRequest::WithRadiusSettings
EnableRadiusRequest & WithRadiusSettings(RadiusSettings &&value)
Definition: EnableRadiusRequest.h:117
Aws::DirectoryService::Model::EnableRadiusRequest::SetRadiusSettings
void SetRadiusSettings(RadiusSettings &&value)
Definition: EnableRadiusRequest.h:105
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::EnableRadiusRequest::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: EnableRadiusRequest.h:45
Aws::DirectoryService::Model::EnableRadiusRequest::GetRadiusSettings
const RadiusSettings & GetRadiusSettings() const
Definition: EnableRadiusRequest.h:87
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DirectoryServiceRequest.h