AWS SDK for C++  1.8.95
AWS SDK for C++
UpdateDomainRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SageMaker
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateDomain"; }
32 
33  Aws::String SerializePayload() const override;
34 
35  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36 
37 
41  inline const Aws::String& GetDomainId() const{ return m_domainId; }
42 
46  inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
47 
51  inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
52 
56  inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
57 
61  inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
62 
66  inline UpdateDomainRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
67 
71  inline UpdateDomainRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
72 
76  inline UpdateDomainRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
77 
78 
82  inline const UserSettings& GetDefaultUserSettings() const{ return m_defaultUserSettings; }
83 
87  inline bool DefaultUserSettingsHasBeenSet() const { return m_defaultUserSettingsHasBeenSet; }
88 
92  inline void SetDefaultUserSettings(const UserSettings& value) { m_defaultUserSettingsHasBeenSet = true; m_defaultUserSettings = value; }
93 
97  inline void SetDefaultUserSettings(UserSettings&& value) { m_defaultUserSettingsHasBeenSet = true; m_defaultUserSettings = std::move(value); }
98 
102  inline UpdateDomainRequest& WithDefaultUserSettings(const UserSettings& value) { SetDefaultUserSettings(value); return *this;}
103 
107  inline UpdateDomainRequest& WithDefaultUserSettings(UserSettings&& value) { SetDefaultUserSettings(std::move(value)); return *this;}
108 
109  private:
110 
111  Aws::String m_domainId;
112  bool m_domainIdHasBeenSet;
113 
114  UserSettings m_defaultUserSettings;
115  bool m_defaultUserSettingsHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace SageMaker
120 } // namespace Aws
UpdateDomainRequest & WithDefaultUserSettings(UserSettings &&value)
UpdateDomainRequest & WithDomainId(const char *value)
#define AWS_SAGEMAKER_API
virtual const char * GetServiceRequestName() const override
void SetDefaultUserSettings(UserSettings &&value)
UpdateDomainRequest & WithDomainId(Aws::String &&value)
UpdateDomainRequest & WithDomainId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
UpdateDomainRequest & WithDefaultUserSettings(const UserSettings &value)
void SetDefaultUserSettings(const UserSettings &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetDomainId(const Aws::String &value)
const UserSettings & GetDefaultUserSettings() const